3
0
Fork 0
forked from mirrors/nixpkgs

make-ext4-fs: Fix cross compiling

This commit is contained in:
Will Fancher 2018-06-05 03:18:11 -04:00 committed by Tuomas Tynkkynen
parent d5b060b249
commit 47d2f92a05

View file

@ -6,16 +6,19 @@
, storePaths
, volumeLabel
, uuid ? "44444444-4444-4444-8888-888888888888"
, e2fsprogs
, libfaketime
, perl
}:
let
sdClosureInfo = pkgs.closureInfo { rootPaths = storePaths; };
sdClosureInfo = pkgs.buildPackages.closureInfo { rootPaths = storePaths; };
in
pkgs.stdenv.mkDerivation {
name = "ext4-fs.img";
nativeBuildInputs = with pkgs; [e2fsprogs.bin libfaketime perl];
nativeBuildInputs = [e2fsprogs.bin libfaketime perl];
buildCommand =
''