summary refs log tree commit diff
path: root/pkgs/development/tools/misc/prelink
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-08-25 08:44:20 +0000
committerRobin Gloster <mail@glob.in>2016-08-25 08:44:20 +0000
commiteddc0a554900b5868de73971c415bcb0e9c52aec (patch)
tree955517860d12fb8ddbac8e0efc6f8523bb03fc75 /pkgs/development/tools/misc/prelink
parent113fbe910ebc483b140ba60c0dbd0b37f7f623f6 (diff)
downloadnixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar.gz
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar.bz2
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar.lz
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar.xz
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.tar.zst
nixpkgs-eddc0a554900b5868de73971c415bcb0e9c52aec.zip
treewide: fix darwin builds by using getOutput
This fixes eval for pkgs referring to optional static output
Diffstat (limited to 'pkgs/development/tools/misc/prelink')
-rw-r--r--pkgs/development/tools/misc/prelink/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/prelink/default.nix b/pkgs/development/tools/misc/prelink/default.nix
index 28b3aba8e5e..f2c5208d7ae 100644
--- a/pkgs/development/tools/misc/prelink/default.nix
+++ b/pkgs/development/tools/misc/prelink/default.nix
@@ -6,7 +6,9 @@ in
 stdenv.mkDerivation rec {
   name = "prelink-${version}";
 
-  buildInputs = [ libelf stdenv.cc.libc stdenv.cc.libc.static ];
+  buildInputs = [
+    libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc)
+  ];
 
   src = fetchurl {
     url = "http://people.redhat.com/jakub/prelink/prelink-${version}.tar.bz2";