linuxPackages.virtualboxGuestAdditions: fix with grsecurity

This commit is contained in:
Robin Gloster 2016-09-26 14:49:11 +02:00
parent ff980cc553
commit 2d0c1c6a7c
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -19,12 +19,13 @@ stdenv.mkDerivation {
hardeningDisable = [ "pic" ];
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
buildInputs = [ patchelf cdrkit makeWrapper dbus ];
installPhase = ''
mkdir -p $out
cp -r install/* $out
'';
buildCommand = with xorg; ''
@ -139,6 +140,5 @@ stdenv.mkDerivation {
license = "GPL";
maintainers = [ lib.maintainers.sander ];
platforms = lib.platforms.linux;
broken = kernel.features.grsecurity or false;
};
}