xorg.*: disable relro/bindnow hardening
Breaks the module system at runtime otherwise.
This commit is contained in:
parent
8071cafe66
commit
27b9f5d65e
@ -46,7 +46,4 @@ fi
|
||||
|
||||
enableParallelBuilding=1
|
||||
|
||||
# breaks module loading
|
||||
hardeningDisable="bindnow"
|
||||
|
||||
genericBuild
|
||||
|
@ -9,7 +9,9 @@ let
|
||||
mkDerivation = name: attrs:
|
||||
let newAttrs = (overrides."${name}" or (x: x)) attrs;
|
||||
stdenv = newAttrs.stdenv or args.stdenv;
|
||||
in stdenv.mkDerivation (removeAttrs newAttrs [ "stdenv" ]);
|
||||
in stdenv.mkDerivation ((removeAttrs newAttrs [ "stdenv" ]) // {
|
||||
hardeningDisable = [ "bindnow" "relro" ];
|
||||
});
|
||||
|
||||
overrides = import ./overrides.nix {inherit args xorg;};
|
||||
|
||||
|
@ -430,7 +430,6 @@ in
|
||||
# and there are no fonts in this package anyway
|
||||
"--enable-glamor"
|
||||
];
|
||||
hardeningDisable = [ "relro" ];
|
||||
postInstall = ''
|
||||
rm -fr $out/share/X11/xkb/compiled
|
||||
ln -s /var/tmp $out/share/X11/xkb/compiled
|
||||
|
Loading…
Reference in New Issue
Block a user