summary refs log tree commit diff
path: root/pkgs/development/libraries/jitterentropy
diff options
context:
space:
mode:
authorMarkus Theil <theil.markus@gmail.com>2023-07-05 13:24:50 +0200
committerMarkus Theil <theil.markus@gmail.com>2023-07-13 12:20:46 +0200
commit1547a6c4a802ea04ec4f17a046c9403482de4f34 (patch)
tree8368387285105d4cfbaad3f7486f8faf3a79ee07 /pkgs/development/libraries/jitterentropy
parentf60a3a000440cd28dad8575675e3064fb9e44520 (diff)
downloadnixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar.gz
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar.bz2
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar.lz
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar.xz
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.tar.zst
nixpkgs-1547a6c4a802ea04ec4f17a046c9403482de4f34.zip
jitterentropy: disable upstream install strip
This install strip is later done through nixpkgs and is not needed.
Furthermore it failed for me when cross compiling on x86-64 to aarch64.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
Diffstat (limited to 'pkgs/development/libraries/jitterentropy')
-rw-r--r--pkgs/development/libraries/jitterentropy/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jitterentropy/default.nix b/pkgs/development/libraries/jitterentropy/default.nix
index f4fd019e3f0..edf46fa4f51 100644
--- a/pkgs/development/libraries/jitterentropy/default.nix
+++ b/pkgs/development/libraries/jitterentropy/default.nix
@@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
   hardeningDisable = [ "fortify" ]; # avoid warnings
 
+  # prevent jitterentropy from builtin strip to allow controlling this from the derivation's
+  # settings. Also fixes a strange issue, where this strip may fail when cross-compiling.
   installFlags = [
+    "INSTALL_STRIP=install"
     "PREFIX=${placeholder "out"}"
   ];