about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@yahoo.com>2018-01-09 12:36:53 -0500
committerGitHub <noreply@github.com>2018-01-09 12:36:53 -0500
commiteec050f3955d803dbee1ea66706f0bca7aa7ff88 (patch)
tree81642547f0188181195b741ea5d347a1370f9984 /nixos/lib
parent0c16a11c9aee51fd2f1603d7f7bc2c5a6c8bfaaa (diff)
parentb2cbffae6468c34f3c315bc40aa6df4483309f00 (diff)
downloadnixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar.gz
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar.bz2
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar.lz
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar.xz
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.tar.zst
nixlib-eec050f3955d803dbee1ea66706f0bca7aa7ff88.zip
Merge pull request #33577 from dtzWill/fix/cross-2
Minor cross fixes, 2
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/make-ext4-fs.nix2
-rw-r--r--nixos/lib/make-squashfs.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/lib/make-ext4-fs.nix b/nixos/lib/make-ext4-fs.nix
index f06649e1991a..21c69ed560a3 100644
--- a/nixos/lib/make-ext4-fs.nix
+++ b/nixos/lib/make-ext4-fs.nix
@@ -10,7 +10,7 @@
 pkgs.stdenv.mkDerivation {
   name = "ext4-fs.img";
 
-  buildInputs = with pkgs; [e2fsprogs libfaketime perl];
+  nativeBuildInputs = with pkgs; [e2fsprogs libfaketime perl];
 
   # For obtaining the closure of `storePaths'.
   exportReferencesGraph =
diff --git a/nixos/lib/make-squashfs.nix b/nixos/lib/make-squashfs.nix
index e66c0ae8f661..9d47a3222cc2 100644
--- a/nixos/lib/make-squashfs.nix
+++ b/nixos/lib/make-squashfs.nix
@@ -8,7 +8,7 @@
 stdenv.mkDerivation {
   name = "squashfs.img";
 
-  buildInputs = [perl squashfsTools];
+  nativeBuildInputs = [perl squashfsTools];
 
   # For obtaining the closure of `storeContents'.
   exportReferencesGraph =