git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #144417 from sternenseemann/glibc-always-ldd

glibc: include ldd and other scripts in cross-builds

commitac971cdc544955ac1d590182aeb25c4c8cacd46e authorMaximilian Bosch <maximilian@mbosch.me> dateSat 6 Nov 2021, 13:40 (5 years ago) parent17e118ae9b9bea
1 file changed−5
pkgs/development/libraries/glibc/common.nix−5
pkgs/development/libraries/glibc/common.nix−5
@@ -286,9 +286,4 @@ stdenv.mkDerivation ({
286286
287287// lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) {
288288 preInstall = null; # clobber the native hook
289−
290− # To avoid a dependency on the build system 'bash'.
291− preFixup = ''
292− rm -f $bin/bin/{ldd,tzselect,catchsegv,xtrace}
293− '';
294289})