mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Added patchelf instruction in order to compile virtualbox on x86-64
svn path=/nixpkgs/trunk/; revision=15063
This commit is contained in:
parent
2773c38d33
commit
dd3608c0de
@ -18,6 +18,7 @@ stdenv.mkDerivation {
|
||||
sed -e 's@/lib/modules/`uname -r`/build@'$MODULES_BUILD_DIR@ \\
|
||||
-i configure
|
||||
ls kBuild/bin/linux.x86/k* tools/linux.x86/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux.so.2
|
||||
ls kBuild/bin/linux.amd64/k* tools/linux.amd64/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2
|
||||
export USER=nix
|
||||
set +x
|
||||
";
|
||||
|
Loading…
Reference in New Issue
Block a user