From 028e3d82df2255f08161b9a3647617d68767b861 Mon Sep 17 00:00:00 2001 From: Anthony Cowley Date: Thu, 14 Jul 2016 14:47:23 -0400 Subject: [PATCH] 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. --- pkgs/development/libraries/qrupdate/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qrupdate/default.nix b/pkgs/development/libraries/qrupdate/default.nix index aaa9ab8a61a..89cf865be25 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 ]; }