Closed ShamrockLee closed 8 months ago
We probably still need impure evaluation because getFlake needs it as well as those environment variables that it still uses (also those can be probably refactored out).
Thanks!
I didn't add --impure
because the help message indicates that users can choose if they would like to add --impure
or not.
BTW, why is -k
added even if the help message lists --keep-going
as an optional flag?
The --file
flag already adds it --impure
implicitly actually. Don't remember why I added --keep-going
. Sometimes I like doing this for ci-related builds as it will try to build as much as possible so that on the next run it starts only with the failing derivations and it's dependencies. As such it won't abort working builds, which cuts down a bit of noise and avoids re-doing long-running builds.
This PR is a collection of small refactoring.
nix run
to run the code instead of currentmktemp
hack.nix run
evaluates purely by default, contrary to Nix classic commands likenix-build
.packages.<system>.default
instead ofdefaultPackages.<system>
.inp.self
instead ofrec
.