Closed cole-h closed 3 years ago
@cole-h I have tested it on my laptop with nix flake update --override-input impermanence github:cole-h/impermanence/remove-unused-input
and nixos-rebuild
, and it works well.
nix does not generate flake.lock
if there are no inputs. Maybe there is no need to add flake.lock
to .gitignore
?
Indeed, I didn't notice. Fixed, thanks.
Packages are retrieved from the
pkgs
module argument, rather than Nixpkgs itself.Fixes https://github.com/nix-community/impermanence/issues/26.
nix flake check
passes, but I'd appreciate testing to verify things still work properly.cc @linyinfeng