diff options
author | Shea Levy <shea@shealevy.com> | 2014-01-19 13:38:37 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-01-19 13:38:37 -0500 |
commit | 0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b (patch) | |
tree | 0af277f902618a9934f5cfbda6b203f04e33a983 | |
parent | cb245301350147edfec6867f0955e7e1379e3439 (diff) | |
download | nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar.gz nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar.bz2 nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar.lz nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar.xz nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.tar.zst nixlib-0e74c9f4dcec3fe61a1e9ec9afb5a03f8b27183b.zip |
Fix tarball
Signed-off-by: Shea Levy <shea@shealevy.com>
-rw-r--r-- | pkgs/development/compilers/rust/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix index f605f1ca40ed..a0c8b50ad3fa 100644 --- a/pkgs/development/compilers/rust/default.nix +++ b/pkgs/development/compilers/rust/default.nix @@ -22,12 +22,12 @@ stdenv.mkDerivation { ''; # Modify the snapshot compiler so that is can be executed - preBuild = '' + preBuild = if stdenv.isLinux then '' make x86_64-unknown-linux-gnu/stage0/bin/rustc patchelf --interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 \ --set-rpath ${stdenv.gcc.gcc}/lib/ \ x86_64-unknown-linux-gnu/stage0/bin/rustc - ''; + '' else null; # rustc requires cc postInstall = '' |