mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
virtualbox: remove components/VBoxREM.so when
hardened or headless is enabled
arch does it as well
1b2aaf4113/trunk/PKGBUILD (L184)
This commit is contained in:
parent
a2c2a38f70
commit
e740711cf6
@ -200,6 +200,11 @@ in stdenv.mkDerivation {
|
||||
done
|
||||
''}
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/137104
|
||||
${optionalString (enableHardening || headless) ''
|
||||
rm $libexec/components/VBoxREM.so
|
||||
''}
|
||||
|
||||
cp -rv out/linux.*/${buildType}/bin/src "$modsrc"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user