Skip to content

Commit

Permalink
coreutils: Just use the default as it doesn't much space
Browse files Browse the repository at this point in the history
  • Loading branch information
wkennington committed May 31, 2015
1 parent c2b16da commit 127184d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,12 @@ let
curl-light = pkgs.curl-light.crossDrv;
xz = pkgs.xz.crossDrv;
cacert = pkgs.cacert.crossDrv;
coreutils = pkgs.coreutils.crossDrv;
busyboxBootstrap = pkgs.busyboxBootstrap.crossDrv;

in

rec {

# We want coreutils without ACL support.
coreutilsMinimal = (pkgs.coreutils.override (args: {
aclSupport = false;
})).crossDrv;

inherit pkgs;

Expand Down Expand Up @@ -135,7 +131,7 @@ rec {
mv $out/include $out/include-glibc
# Copy coreutils, bash, etc.
cp ${coreutilsMinimal}/bin/* $out/bin
cp ${coreutils}/bin/* $out/bin
(cd $out/bin && rm vdir dir sha*sum pinky factor pathchk runcon shuf who whoami shred users)
cp ${bash}/bin/bash $out/bin
Expand Down
2 changes: 1 addition & 1 deletion pkgs/stdenv/linux/make-bootstrap-tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rec {
mv $out/include $out/include-glibc
# Copy coreutils, bash, etc.
cp ${coreutilsMinimal}/bin/* $out/bin
cp ${coreutils}/bin/* $out/bin
(cd $out/bin && rm vdir dir sha*sum pinky factor pathchk runcon shuf who whoami shred users)
cp ${bash}/bin/bash $out/bin
Expand Down

0 comments on commit 127184d

Please sign in to comment.