about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorGeorges Dubus <georges.dubus@compiletoi.net>2014-01-22 16:36:05 +0100
committerGeorges Dubus <georges.dubus@compiletoi.net>2014-01-22 16:36:05 +0100
commit49dd0867a7ef4f39bdd48dda7efb703e1365a3c2 (patch)
tree62c794e940728053f5c1adb0ddef58527a628d6d /pkgs
parent6eed023894ce51547772f6ba86ebfeae473aeede (diff)
downloadnixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar.gz
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar.bz2
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar.lz
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar.xz
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.tar.zst
nixlib-49dd0867a7ef4f39bdd48dda7efb703e1365a3c2.zip
rust: Fixed build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/rust/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix
index a93bf4af6132..241eddc8068d 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rust/default.nix
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
   preBuild = if stdenv.isLinux then ''
     make ${target}/stage0/bin/rustc
     patchelf --interpreter ${stdenv.glibc}/lib/${stdenv.gcc.dynamicLinker} \
-             --set-rpath ${stdenv.gcc.gcc}/lib/ \
+             --set-rpath ${stdenv.gcc.gcc}/lib/:${stdenv.gcc.gcc}/lib64/ \
              ${target}/stage0/bin/rustc
   '' else null;