Skip to content

Commit

Permalink
glibc: remove sotruss in cross builds to not depend on build-time bash
Browse files Browse the repository at this point in the history
  • Loading branch information
illegalprime committed Apr 18, 2019
1 parent aaca0d1 commit 3b8c0bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/glibc/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

{ stdenv, lib
, buildPackages
, runtimeShell
, fetchurl ? null
, linuxHeaders ? null
, gd ? null, libpng ? null
Expand Down Expand Up @@ -216,6 +217,6 @@ stdenv.mkDerivation ({

# To avoid a dependency on the build system 'bash'.
preFixup = ''
rm -f $bin/bin/{ldd,tzselect,catchsegv,xtrace}
rm -f $bin/bin/{ldd,tzselect,catchsegv,xtrace,sotruss}
'';
})

0 comments on commit 3b8c0bb

Please sign in to comment.