diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-06-10 21:30:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 21:30:23 -0400 |
commit | 02698c4a61aaa4eb7cd0569a4802f110d2dd37c8 (patch) | |
tree | e1fe61ae8240bd7358c2bc965bdef4366a02e5e7 /nixos/modules | |
parent | 66658d56747e5331993c4da3ba2ce075de51b0de (diff) | |
parent | ca7a18a24b4e54fb8ed2d756cd1c017e1aa67774 (diff) |
Merge pull request #59803 from volth/patch-316
nixos/netboot: import -> callPackage
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/installer/netboot/netboot.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix index 303d9fce3f9a..cdfba5ab9e31 100644 --- a/nixos/modules/installer/netboot/netboot.nix +++ b/nixos/modules/installer/netboot/netboot.nix @@ -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; }; |