nixos/netboot: import -> callPackage
Copy-paste from iso-image.nix Besides the simplification, it should use `pkgs.buildPackages.squashfsTools` because it is used in `nativeBuildInputs` instead of incorrect `pkgs.squashfsTools` which was forced by `import'
This commit is contained in:
parent
1e8606946f
commit
ca7a18a24b
@ -65,8 +65,7 @@ with lib;
|
|||||||
[ config.system.build.toplevel ];
|
[ config.system.build.toplevel ];
|
||||||
|
|
||||||
# Create the squashfs image that contains the Nix store.
|
# Create the squashfs image that contains the Nix store.
|
||||||
system.build.squashfsStore = import ../../../lib/make-squashfs.nix {
|
system.build.squashfsStore = pkgs.callPackage ../../../lib/make-squashfs.nix {
|
||||||
inherit (pkgs) stdenv squashfsTools closureInfo;
|
|
||||||
storeContents = config.netboot.storeContents;
|
storeContents = config.netboot.storeContents;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user