virtualbox: Fix extension pack without hardening.
We divert to the $out/share/virtualbox directory only if we have hardening enabled, so let's put the extension pack into $out/libexec/virtualbox instead if we're compiling without hardening. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
e36bec661c
commit
eb561f0798
@ -129,8 +129,8 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
libexec=$out/libexec/virtualbox
|
||||
share=$out/share/virtualbox
|
||||
libexec="$out/libexec/virtualbox"
|
||||
share="${if enableHardening then "$out/share/virtualbox" else "$libexec"}"
|
||||
|
||||
# Install VirtualBox files
|
||||
cd out/linux.*/release/bin
|
||||
|
Loading…
Reference in New Issue
Block a user