From 3b8c0bbb93216801efffa89e9c632100350a6c50 Mon Sep 17 00:00:00 2001 From: Michael Eden Date: Thu, 18 Apr 2019 13:45:18 -0400 Subject: [PATCH] glibc: remove sotruss in cross builds to not depend on build-time bash --- pkgs/development/libraries/glibc/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index 33c8e5076daa7..7e0cd00d36174 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -19,6 +19,7 @@ { stdenv, lib , buildPackages +, runtimeShell , fetchurl ? null , linuxHeaders ? null , gd ? null, libpng ? null @@ -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} ''; })