proot: fix cross compilation

This commit is contained in:
Symphorien Gibol 2019-03-28 21:57:51 +01:00
parent cbd9409086
commit 52566c3b7b

View File

@ -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;