Open
Description
Describe the bug
cabal init -n
fails when cabal
is not in $PATH
. seems like it wants to call itself?
cabal: readCreateProcessWithExitCode: posix_spawnp: does not exist (No such file or directory)
To Reproduce
Steps to reproduce the behavior:
Ensure cabal
is not in $PATH
$ mkdir mypackage
$ cd mypackage
$ /path/to/cabal init -n
Expected behavior
The package is initialized
System information
- NixOS
cabal
3ae0488GHC
9.4.8
Additional context
Activity