mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
linuxPackages.nvidia-x11: disable pic & format hardening
This commit is contained in:
parent
5103e70a37
commit
9e7d118ea2
5 changed files with 10 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -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; {
|
||||
|
|
|
@ -26,6 +26,8 @@ stdenv.mkDerivation {
|
|||
|
||||
kernel = kernel.dev;
|
||||
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
|
||||
inherit versionNumber;
|
||||
|
||||
dontStrip = true;
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue