From 5c9750e5bbf52977d6fb95d9ff07e09f10769b01 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Thu, 4 Jun 2015 08:35:54 -0500 Subject: [PATCH] julia03: link shared libraries privately --- pkgs/development/compilers/julia/0.3.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/compilers/julia/0.3.nix b/pkgs/development/compilers/julia/0.3.nix index 62a1f4f98cc5..d5e763003b12 100644 --- a/pkgs/development/compilers/julia/0.3.nix +++ b/pkgs/development/compilers/julia/0.3.nix @@ -122,12 +122,12 @@ stdenv.mkDerivation rec { preBuild = '' # Link dynamically loaded shared libraries into output so they are found at runtime. - mkdir -p "$out/lib" - ln -s "${openblas}/lib/libopenblas.so" "$out/lib/libblas.so" - ln -s "${openblas}/lib/libopenblas.so" "$out/lib/liblapack.so" - ln -s "${suitesparse}/lib/libsuitesparse.so" "$out/lib/libsuitesparse.so" + mkdir -p "$out/lib/julia" + ln -s "${openblas}/lib/libopenblas.so" "$out/lib/julia/libblas.so" + ln -s "${openblas}/lib/libopenblas.so" "$out/lib/julia/liblapack.so" + ln -s "${suitesparse}/lib/libsuitesparse.so" "$out/lib/julia/libsuitesparse.so" for i in umfpack cholmod amd camd colamd spqr; do - ln -s libsuitesparse.so "$out/lib/lib$i.so"; + ln -s libsuitesparse.so "$out/lib/julia/lib$i.so"; done '';