proot: fix cross compilation
This commit is contained in:
parent
cbd9409086
commit
52566c3b7b
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/GNUmakefile \
|
substituteInPlace src/GNUmakefile \
|
||||||
--replace /bin/echo ${coreutils}/bin/echo
|
--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;
|
buildInputs = [ talloc ] ++ stdenv.lib.optional enablePython python;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user