nixos: use nativeBuildInputs in make- iso9660-image and system-tarball
The tools used to create iso9660 images and tarballs are independent of
the platform of the closure contained within.
commit7e25b7113271cf80eb0f950da2e1aa7b382eb268
authorEmery Hemingway <ehmry@posteo.net>
dateWed 18 Nov 2020, 13:58 (6 years ago)
parent6e9e1a0
nixos/lib/make-iso9660-image.nix+1−1
@@ -48,7 +48,7 @@ assert usbBootable -> isohybridMbrImage != "";
4848stdenv.mkDerivation {
4949 name = isoName;
5050 builder = ./make-iso9660-image.sh;
51− buildInputs = [ xorriso syslinux zstd libossp_uuid ];
51+ nativeBuildInputs = [ xorriso syslinux zstd libossp_uuid ];
5252
5353 inherit isoName bootable bootImage compressImage volumeID efiBootImage efiBootable isohybridMbrImage usbBootable;
5454
nixos/lib/make-system-tarball.nix+1−1
@@ -37,7 +37,7 @@ in
3737stdenv.mkDerivation {
3838 name = "tarball";
3939 builder = ./make-system-tarball.sh;
40− buildInputs = extraInputs;
40+ nativeBuildInputs = extraInputs;
4141
4242 inherit fileName extraArgs extraCommands compressCommand;
4343