Closed justinwoo closed 2 years ago
I tried this out and it works!
It does require that you specify a number of concurrent jobs thought.
oh yeah, i misread what the original implementation was. i thought it required the param every time
$ ./result/bin/spago2nix generate -- --config a
getting packages..
Failed to list packages:
[error] Failed to read the config. Error was:
[error] There's no "a" in your current location.
If you already have a spago project you might be in the wrong subdirectory,
otherwise you might want to run `spago init` to initialize a new project.
(SpagoRunError "Normally 1")
$ ./result/bin/spago2nix generate 1 -- --config a
getting packages..
Failed to list packages:
[error] Failed to read the config. Error was:
[error] There's no "a" in your current location.
If you already have a spago project you might be in the wrong subdirectory,
otherwise you might want to run `spago init` to initialize a new project.
(SpagoRunError "Normally 1")
fixed it
I'll try to remember to update the README at some point.
https://github.com/justinwoo/spago2nix/issues/46
and such