git.iko.soy/typeable/nixpkgs
on master help sign in
xorg: expression cleanup

The generating script needed to be updated not to overwrite the hardening changes back.

commit772d14d8c243c8076ca71f202d0c71546e94ae19 authorVladimír Čunát <vcunat@gmail.com> dateFri 16 Sep 2016, 22:39 (10 years ago) parent16ed17d
2 files changed+3−16
pkgs/servers/x11/xorg/default.nix−15 pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl+3−1
pkgs/servers/x11/xorg/default.nix−15
@@ -2362,21 +2362,6 @@ let
23622362 meta.platforms = stdenv.lib.platforms.unix;
23632363 }) // {inherit dri2proto dri3proto renderproto libdrm openssl libX11 libXau libXaw libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt ;};
23642364
2365− # TODO:
2366− # With the current state of ./generate-expr-from-tarballs.pl,
2367− # this will get overwritten when next invoked.
2368− # Could add a special case to ./generate-expr-from-tarballs.pl,
2369− # or perhaps there's a cleaner solution.
2370− #xquartz = (mkDerivation "xquartz" {
2371− # name = "xorg-server-1.14.6";
2372− # builder = ./builder.sh;
2373− # src = fetchurl {
2374− # url = mirror://xorg/individual/xserver/xorg-server-1.14.6.tar.bz2;
2375− # sha256 = "0c57vp1z0p38dj5gfipkmlw6bvbz1mrr0sb3sbghdxxdyq4kzcz8";
2376− # };
2377− # buildInputs = [pkgconfig renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ];
2378− #}) // {inherit renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ;};
2379−
23802365 xorgsgmldoctools = (mkDerivation "xorgsgmldoctools" {
23812366 name = "xorg-sgml-doctools-1.11";
23822367 builder = ./builder.sh;
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl+3−1
@@ -239,7 +239,9 @@ let
239239 mkDerivation = name: attrs:
240240 let newAttrs = (overrides."\${name}" or (x: x)) attrs;
241241 stdenv = newAttrs.stdenv or args.stdenv;
242− in stdenv.mkDerivation (removeAttrs newAttrs [ "stdenv" ]);
242+ in stdenv.mkDerivation ((removeAttrs newAttrs [ "stdenv" ]) // {
243+ hardeningDisable = [ "bindnow" "relro" ];
244+ });
243245
244246 overrides = import ./overrides.nix {inherit args xorg;};
245247