summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-13 15:53:51 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-13 22:09:41 +0300
commit8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e (patch)
tree8bab721107fae818dad896a0876d50d3d0a0d981 /pkgs/applications/science/math
parente26119619f7ce64b065e692ba0cd31f53b9ef637 (diff)
downloadnixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.gz
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.bz2
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.lz
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.xz
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.zst
nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.zip
replace makeSearchPath tree-wise to take care of possible multiple outputs
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/mathematica/9.nix2
-rw-r--r--pkgs/applications/science/math/mathematica/default.nix2
-rw-r--r--pkgs/applications/science/math/maxima/default.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/mathematica/9.nix b/pkgs/applications/science/math/mathematica/9.nix
index 7573b8955b19..2a43cf5677fe 100644
--- a/pkgs/applications/science/math/mathematica/9.nix
+++ b/pkgs/applications/science/math/mathematica/9.nix
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
 
   ldpath = stdenv.lib.makeLibraryPath buildInputs
     + stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
-      (":" + stdenv.lib.makeSearchPath "lib64" buildInputs);
+      (":" + stdenv.lib.makeSearchPathOutputs "lib64" ["lib"] buildInputs);
 
   phases = "unpackPhase installPhase fixupPhase";
 
diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix
index 05c6f2622934..c2988331c4cd 100644
--- a/pkgs/applications/science/math/mathematica/default.nix
+++ b/pkgs/applications/science/math/mathematica/default.nix
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
 
   ldpath = stdenv.lib.makeLibraryPath buildInputs
     + stdenv.lib.optionalString (stdenv.system == "x86_64-linux")
-      (":" + stdenv.lib.makeSearchPath "lib64" buildInputs);
+      (":" + stdenv.lib.makeSearchPathOutputs "lib64" ["lib"] buildInputs);
 
   phases = "unpackPhase installPhase fixupPhase";
 
diff --git a/pkgs/applications/science/math/maxima/default.nix b/pkgs/applications/science/math/maxima/default.nix
index e42bd0f83ee0..4497356a29f8 100644
--- a/pkgs/applications/science/math/maxima/default.nix
+++ b/pkgs/applications/science/math/maxima/default.nix
@@ -5,7 +5,7 @@ let
   version = "5.36.1";
 
   searchPath =
-    stdenv.lib.makeSearchPath "bin"
+    stdenv.lib.makeBinPath
       (stdenv.lib.filter (x: x != null) [ sbcl rlwrap tk gnuplot ]);
 in
 stdenv.mkDerivation {