mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
proot: fix cross compilation
This commit is contained in:
parent
cbd9409086
commit
52566c3b7b
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
substituteInPlace src/GNUmakefile \
|
||||
--replace /bin/echo ${coreutils}/bin/echo
|
||||
# our cross machinery defines $CC and co just right
|
||||
sed -i /CROSS_COMPILE/d src/GNUmakefile
|
||||
'';
|
||||
|
||||
buildInputs = [ talloc ] ++ stdenv.lib.optional enablePython python;
|
||||
|
Loading…
Reference in New Issue
Block a user