Fix standalone generation script
This commit is contained in:
parent
cb42643b95
commit
074c7e99e0
@ -5,14 +5,14 @@ let
|
|||||||
in
|
in
|
||||||
deployAndroidPackage {
|
deployAndroidPackage {
|
||||||
inherit package os;
|
inherit package os;
|
||||||
buildInputs = [ autoPatchelfHook makeWrapper ]
|
buildInputs = [ autoPatchelfHook makeWrapper pkgs.python2 ]
|
||||||
++ lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.ncurses5 pkgs.zlib pkgs.libcxx.out ];
|
++ lib.optional (os == "linux") [ pkgs.glibc pkgs.stdenv.cc.cc pkgs.ncurses5 pkgs.zlib pkgs.libcxx.out ];
|
||||||
patchInstructions = lib.optionalString (os == "linux") ''
|
patchInstructions = lib.optionalString (os == "linux") ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
patch -p1 \
|
patch -p1 \
|
||||||
--no-backup-if-mismatch < ${./make_standalone_toolchain.py_18.patch}
|
--no-backup-if-mismatch < ${./make_standalone_toolchain.py_18.patch}
|
||||||
wrapProgram build/tools/make_standalone_toolchain.py --prefix PATH : "${runtime_paths}"
|
wrapProgram $(pwd)/build/tools/make_standalone_toolchain.py --prefix PATH : "${runtime_paths}"
|
||||||
|
|
||||||
# TODO: allow this stuff
|
# TODO: allow this stuff
|
||||||
rm -rf docs tests
|
rm -rf docs tests
|
||||||
@ -47,4 +47,5 @@ deployAndroidPackage {
|
|||||||
ln -sf ../../libexec/android-sdk/ndk-bundle/$i $out/bin/$i
|
ln -sf ../../libexec/android-sdk/ndk-bundle/$i $out/bin/$i
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
noAuditTmpdir = true; # Audit script gets invoked by the build/ component in the path for the make standalone script
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user