···10pkgs.stdenv.mkDerivation {
11 name = "ext4-fs.img";
1213- buildInputs = with pkgs; [e2fsprogs libfaketime perl];
1415 # For obtaining the closure of `storePaths'.
16 exportReferencesGraph =
···10pkgs.stdenv.mkDerivation {
11 name = "ext4-fs.img";
1213+ nativeBuildInputs = with pkgs; [e2fsprogs libfaketime perl];
1415 # For obtaining the closure of `storePaths'.
16 exportReferencesGraph =
+1-1
nixos/lib/make-squashfs.nix
···8stdenv.mkDerivation {
9 name = "squashfs.img";
1011- buildInputs = [perl squashfsTools];
1213 # For obtaining the closure of `storeContents'.
14 exportReferencesGraph =
···8stdenv.mkDerivation {
9 name = "squashfs.img";
1011+ nativeBuildInputs = [perl squashfsTools];
1213 # For obtaining the closure of `storeContents'.
14 exportReferencesGraph =
···1516 # This is to avoid self-references, which causes the initrd to explode
17 # in size and in turn prevents mdraid systems from booting.
18- allowedReferences = [ stdenv.glibc.out ];
1920 patches = [ ./no-self-references.patch ];
21
···1516 # This is to avoid self-references, which causes the initrd to explode
17 # in size and in turn prevents mdraid systems from booting.
18+ allowedReferences = [ stdenv.cc.libc.out ];
1920 patches = [ ./no-self-references.patch ];
21