mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
Remove dependency on coreutils from bootstrap
The Nix distribution tarball no longer includes coreutils.
This commit is contained in:
parent
6a97d9e697
commit
dd0d1194a8
3 changed files with 10 additions and 10 deletions
|
|
@ -14,7 +14,6 @@ runCommand "bootstrap" { } ''
|
|||
chmod --recursive u+w $out/nix
|
||||
|
||||
ln --symbolic ${packageInfo.bash}/bin/sh $out/bin/sh
|
||||
ln --symbolic ${packageInfo.coreutils}/bin/env $out/usr/bin/env
|
||||
|
||||
install -D -m 0755 ${prootTermux}/bin/proot-static $out/bin/proot-static
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,6 @@ stdenv.mkDerivation {
|
|||
CACERT=$(find ${buildRootDirectory}/nix/store -path '*-nss-cacert-*/ca-bundle.crt' | sed 's,^${buildRootDirectory},,')
|
||||
PKG_BASH=$(find ${buildRootDirectory}/nix/store -path '*/bin/bash' | sed 's,^${buildRootDirectory},,')
|
||||
PKG_BASH=''${PKG_BASH%/bin/bash}
|
||||
PKG_COREUTILS=$(find ${buildRootDirectory}/nix/store -path '*/bin/env' | sed 's,^${buildRootDirectory},,')
|
||||
PKG_COREUTILS=''${PKG_COREUTILS%/bin/env}
|
||||
PKG_NIX=$(find ${buildRootDirectory}/nix/store -path '*/bin/nix' | sed 's,^${buildRootDirectory},,')
|
||||
PKG_NIX=''${PKG_NIX%/bin/nix}
|
||||
|
||||
|
|
@ -53,7 +51,6 @@ stdenv.mkDerivation {
|
|||
{
|
||||
bash = "$PKG_BASH";
|
||||
cacert = "$CACERT";
|
||||
coreutils = "$PKG_COREUTILS";
|
||||
nix = "$PKG_NIX";
|
||||
}
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue