summaryrefslogtreecommitdiffstats
path: root/pkgs/misc
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-02-11 15:53:01 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2017-02-11 15:53:01 +0200
commit20578372e1e72a19e9c42e31d1f21cd8a3b6df39 (patch)
treed846308aed93ca388cc055248fcdf749fc4368de /pkgs/misc
parent049a031e34f0855acbff260569979b6a6aecb6fb (diff)
U-Boot: Fix ubootBananaPi & ubootPcduino3Nano by adding python2
Also enable parallel building.
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/uboot/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 6179f05d42b0..f0ec5f483d40 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, bc, dtc }:
+{ stdenv, fetchurl, bc, dtc, python2 }:
let
buildUBoot = { targetPlatforms
@@ -17,7 +17,7 @@ let
sha256 = "1wpc51jm3zyibgcr78jng2yksqvrya76bxgsr4pcyjrsz5sm2hkc";
};
- nativeBuildInputs = [ bc dtc ];
+ nativeBuildInputs = [ bc dtc python2 ];
hardeningDisable = [ "all" ];
@@ -34,6 +34,7 @@ let
runHook postInstall
'';
+ enableParallelBuilding = true;
dontStrip = true;
crossAttrs = {