about summary refs log tree commit diff
path: root/pkgs/development/libraries/qrupdate
diff options
context:
space:
mode:
authorAnthony Cowley <acowley@gmail.com>2016-07-14 14:47:23 -0400
committerAnthony Cowley <acowley@gmail.com>2016-07-18 13:48:31 -0400
commit028e3d82df2255f08161b9a3647617d68767b861 (patch)
tree82a74a9cb3b640b51a1c8a531785be32cae273f5 /pkgs/development/libraries/qrupdate
parentc1a600e8dfd5b114ec19a7b5699985f87691651b (diff)
qrupdate: fix installation (darwin)
The issue is that the library files were not copied to $out with the
existing `installTargets` definition.

I noticed this problem on darwin, but I do not know if it is a
darwin-only problem.
Diffstat (limited to 'pkgs/development/libraries/qrupdate')
-rw-r--r--pkgs/development/libraries/qrupdate/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qrupdate/default.nix b/pkgs/development/libraries/qrupdate/default.nix
index aaa9ab8a61adc..89cf865be2582 100644
--- a/pkgs/development/libraries/qrupdate/default.nix
+++ b/pkgs/development/libraries/qrupdate/default.nix
@@ -28,7 +28,9 @@ stdenv.mkDerivation {
 
   buildFlags = [ "lib" "solib" ];
 
-  installTargets = "install";
+  installTargets = if stdenv.isDarwin
+                   then ["install-staticlib" "install-shlib"]
+                   else "install";
 
   buildInputs = [ gfortran openblas ];
 }