Merge pull request #59803 from volth/patch-316

nixos/netboot: import -> callPackage
This commit is contained in:
Matthew Bauer 2019-06-10 21:30:23 -04:00 committed by GitHub
commit 02698c4a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,7 @@ with lib;
[ config.system.build.toplevel ];
# Create the squashfs image that contains the Nix store.
system.build.squashfsStore = import ../../../lib/make-squashfs.nix {
inherit (pkgs) stdenv squashfsTools closureInfo;
system.build.squashfsStore = pkgs.callPackage ../../../lib/make-squashfs.nix {
storeContents = config.netboot.storeContents;
};