Translations:Flakes/62/en
- fetchurl and fetchtar require a sha256 argument to be considered pure.
- builtins.currentSystem is non-hermetic and impure. This can usually be avoided by passing the system (i.e., x86_64-linux) explicitly to derivations requiring it.
- Imports from channels like
<nixpkgs>
can be made pure by instead importing from theoutput
function inflake.nix
, where the arguments provide the store path to the flake's inputs: