Fix tarball
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
cb24530135
commit
0e74c9f4dc
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user