justinhschaaf / nix-packages

Personal collection of Nix packages. Right now there are only fonts.
MIT License
0 stars 0 forks source link

Impure evaluation when using via a Flake #1

Closed justinhschaaf closed 9 months ago

justinhschaaf commented 10 months ago

According to the NixOS Wiki, Flake evaluations must be pure; however, the current use of <nixpkgs> in default.nix instead of pinning it to a specific commit of the nixpkgs repository means the evaluation is impure and rebuilding a NixOS flake system has to be done with the --impure flag. One of the references for how this repository is structured does not encounter this issue due to getting nixpkgs as a tarball (see here)

justinhschaaf commented 9 months ago

Should be resolved with https://github.com/justinhschaaf/nix-packages/commit/12c967f790563f1e5d7416d8a6846607cdbebd52, will reopen if it isn't after testing on my NixOS system