Closed shmish111 closed 4 years ago
I think --sources-file
is a global option; I'm actually surprised niv init -s ...
works. Can you try specifying -s
before the command, i.e. just after the exe name? niv -s foobar.json add ...
Closing for now, feel free to re-open if this is still a problem.
I want to use niv with a different sources location which I can do with
niv init -s ./nix/other-sources.json
however I can't then specify this alternative sources forniv add
(and in the futureniv update
).