summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-06-10 21:30:23 -0400
committerGitHub <noreply@github.com>2019-06-10 21:30:23 -0400
commit02698c4a61aaa4eb7cd0569a4802f110d2dd37c8 (patch)
treee1fe61ae8240bd7358c2bc965bdef4366a02e5e7 /nixos
parent66658d56747e5331993c4da3ba2ce075de51b0de (diff)
parentca7a18a24b4e54fb8ed2d756cd1c017e1aa67774 (diff)
downloadnixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar.gz
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar.bz2
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar.lz
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar.xz
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.tar.zst
nixpkgs-02698c4a61aaa4eb7cd0569a4802f110d2dd37c8.zip
Merge pull request #59803 from volth/patch-316
nixos/netboot: import -> callPackage
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/netboot/netboot.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix
index 303d9fce3f9..cdfba5ab9e3 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;
     };