diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-11-29 08:06:47 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-11-29 19:21:46 +0100 |
commit | deec767efab85b61c8b58dfd597b7c221f823112 (patch) | |
tree | 8e3e670a0918a4497bf88dc2d1667ac69a9db537 /pkgs | |
parent | 8c766dcc900883206ce79fbddb6498702d04619e (diff) | |
download | nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar.gz nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar.bz2 nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar.lz nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar.xz nixlib-deec767efab85b61c8b58dfd597b7c221f823112.tar.zst nixlib-deec767efab85b61c8b58dfd597b7c221f823112.zip |
virtualbox: Disable depmod only where necessary.
Traversing the full source tree is unneccessary, because the calls are only done within make files. Hence we only substitute make files now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/virtualization/virtualbox/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index 68ac9ea0716e..1eca32bb6637 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -77,7 +77,7 @@ in stdenv.mkDerivation { -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 - find . -type f | xargs sed 's/depmod -a/true/' -i + find . -type f -iname '*makefile*' -exec sed -i -e 's/depmod -a/:/g' {} + sed -e 's@"libasound.so.2"@"${alsaLib}/lib/libasound.so.2"@g' -i src/VBox/Main/xml/Settings.cpp src/VBox/Devices/Audio/alsa_stubs.c export USER=nix set +x |