mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
Install proot as proot-static to avoid clashes
This commit is contained in:
parent
46b782165a
commit
7fddc1a320
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ buildPkgs.runCommand "bootstrap" { } ''
|
|||
ln --symbolic --no-dereference ${packageInfo.bash}/bin/sh $out/bin/sh
|
||||
ln --symbolic --no-dereference ${packageInfo.coreutils}/bin/env $out/usr/bin/env
|
||||
|
||||
install -D -m 0755 ${proot}/bin/proot $out/bin/proot
|
||||
install -D -m 0755 ${proot}/bin/proot-static $out/bin/proot-static
|
||||
|
||||
cp ${files.login}/bin/login $out/bin/login
|
||||
cp ${files.login-inner}/usr/lib/login-inner $out/usr/lib/login-inner
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@ crossStaticPkgs.stdenv.mkDerivation rec {
|
|||
makeFlags = [ "-Csrc CFLAGS=-D__ANDROID__" ];
|
||||
|
||||
installPhase = ''
|
||||
install -D -m 0755 src/proot $out/bin/proot
|
||||
install -D -m 0755 src/proot $out/bin/proot-static
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue