linuxPackages.nvidia-x11: disable pic & format hardening

This commit is contained in:
Franz Pletz 2016-08-13 16:49:42 +02:00
parent 5103e70a37
commit 9e7d118ea2
5 changed files with 10 additions and 2 deletions

View file

@ -41,6 +41,8 @@ stdenv.mkDerivation {
kernel = if libsOnly then null else kernel.dev;
hardeningDisable = [ "pic" "format" ];
dontStrip = true;
glPath = makeLibraryPath [xorg.libXext xorg.libX11 xorg.libXrandr];

View file

@ -42,6 +42,8 @@ stdenv.mkDerivation {
kernel = if libsOnly then null else kernel.dev;
hardeningDisable = [ "pic" "format" ];
dontStrip = true;
glPath = makeLibraryPath [xorg.libXext xorg.libX11 xorg.libXrandr];
@ -57,8 +59,6 @@ stdenv.mkDerivation {
buildInputs = [ perl nukeReferences ];
hardeningDisable = [ "pic" "format" ];
disallowedReferences = if libsOnly then [] else [ kernel.dev ];
meta = with stdenv.lib.meta; {

View file

@ -26,6 +26,8 @@ stdenv.mkDerivation {
kernel = kernel.dev;
hardeningDisable = [ "pic" "format" ];
inherit versionNumber;
dontStrip = true;

View file

@ -32,6 +32,8 @@ stdenv.mkDerivation {
kernel = if libsOnly then null else kernel.dev;
hardeningDisable = [ "pic" "format" ];
dontStrip = true;
glPath = stdenv.lib.makeLibraryPath [xorg.libXext xorg.libX11 xorg.libXrandr];

View file

@ -42,6 +42,8 @@ stdenv.mkDerivation {
kernel = if libsOnly then null else kernel.dev;
hardeningDisable = [ "pic" "format" ];
dontStrip = true;
glPath = makeLibraryPath [xorg.libXext xorg.libX11 xorg.libXrandr];