mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
virtualbox: Set depmod path to /do_not_use_depmod.
The scripts/depmod.sh checks whether the path in $DEPMOD is executable and only executes it if that's the case. So, by setting DEPMOD to "/do_not_use_depmod" the destination path doesn't exist _and_ thus isn't executable aswell.
This commit is contained in:
parent
31d8a9a1f4
commit
e32d7843da
@ -85,7 +85,7 @@ stdenv.mkDerivation {
|
||||
name="$(basename "$mod")"
|
||||
export INSTALL_MOD_PATH="$out"
|
||||
export INSTALL_MOD_DIR=misc
|
||||
make -C "$MODULES_BUILD_DIR" "M=$mod" DEPMOD= modules_install
|
||||
make -C "$MODULES_BUILD_DIR" "M=$mod" DEPMOD=/do_not_use_depmod modules_install
|
||||
done
|
||||
|
||||
# Create wrapper script
|
||||
|
Loading…
Reference in New Issue
Block a user