Merge pull request #224 from nix-community/fix-image
add missing nixos-install
This commit is contained in:
commit
9052d1d721
1 changed files with 2 additions and 2 deletions
|
@ -26,6 +26,7 @@ in
|
||||||
documentation.man.man-db.enable = false;
|
documentation.man.man-db.enable = false;
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
pkgs.nixos-install-tools
|
||||||
# for zapping of disko
|
# for zapping of disko
|
||||||
pkgs.jq
|
pkgs.jq
|
||||||
# for copying extra files of nixos-anywhere
|
# for copying extra files of nixos-anywhere
|
||||||
|
@ -37,8 +38,7 @@ in
|
||||||
# reduce closure size by removing perl
|
# reduce closure size by removing perl
|
||||||
] ++ lib.optionals hasPerlless [
|
] ++ lib.optionals hasPerlless [
|
||||||
"${modulesPath}/profiles/perlless.nix"
|
"${modulesPath}/profiles/perlless.nix"
|
||||||
# We relax the perl check in perlless.nix as not all images are actually perlless
|
# FIXME: we still are left with nixos-generate-config due to nixos-install-tools
|
||||||
# and we also want to allow users to install perl if they need it.
|
|
||||||
{ system.forbiddenDependenciesRegexes = lib.mkForce []; }
|
{ system.forbiddenDependenciesRegexes = lib.mkForce []; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue