From d0aec3b1d4b09b05d74bac984d72d869c749e9da Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 13 Nov 2019 00:57:07 +0100 Subject: [PATCH] jitterentropy: Find strip when crosscompiling --- pkgs/development/libraries/jitterentropy/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/jitterentropy/default.nix b/pkgs/development/libraries/jitterentropy/default.nix index f6a70deb8c2d..ddf4ba621697 100644 --- a/pkgs/development/libraries/jitterentropy/default.nix +++ b/pkgs/development/libraries/jitterentropy/default.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation rec { preInstall = '' mkdir -p $out/include + substituteInPlace Makefile \ + --replace "install -m 0755 -s" \ + 'install -m 0755 -s --strip-program $(STRIP)' ''; installFlags = [