about summary refs log tree commit diff
path: root/pkgs/development/compilers/rustc/makeRustcDerivation.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-04-26 19:54:51 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-05-05 11:52:08 +0200
commit3b9ef2c71b275c924c4b28caf2f8a765bfc75d14 (patch)
tree0d6fcf3d6474bdb436c0af0c975efd35df8cd6cf /pkgs/development/compilers/rustc/makeRustcDerivation.nix
parentb7c3c25218f8807920318ceb61b70f4343e0bd91 (diff)
fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
Diffstat (limited to 'pkgs/development/compilers/rustc/makeRustcDerivation.nix')
-rw-r--r--pkgs/development/compilers/rustc/makeRustcDerivation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rustc/makeRustcDerivation.nix b/pkgs/development/compilers/rustc/makeRustcDerivation.nix
index ae3981f1addc2..cb25743ddec30 100644
--- a/pkgs/development/compilers/rustc/makeRustcDerivation.nix
+++ b/pkgs/development/compilers/rustc/makeRustcDerivation.nix
@@ -108,7 +108,7 @@ stdenv.mkDerivation {
       mkdir -p "$out"
       cp -r bin "$out/bin"
     '' + (if stdenv.isLinux then ''
-      patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.cc.dynamicLinker}" \
+      patchelf --interpreter "${stdenv.glibc.out}/lib/${stdenv.cc.dynamicLinker}" \
                --set-rpath "${stdenv.cc.cc}/lib/:${stdenv.cc.cc}/lib64/" \
                "$out/bin/rustc"
     '' else "");