grsec: Fix build after multiple output shuffling

Same problem with overrideDerivation as in
https://github.com/NixOS/nixpkgs/issues/10721. Would be nice to have
that fixed...

+2 -1
+2 -1
pkgs/build-support/grsecurity/default.nix
··· 1 { stdenv 2 , overrideDerivation 3 4 # required for gcc plugins ··· 24 inherit extraConfig; 25 ignoreConfigErrors = true; 26 }) (attrs: { 27 - nativeBuildInputs = [ gmp libmpc mpfr ] ++ (attrs.nativeBuildInputs or []); 28 preConfigure = '' 29 echo ${localver} >localversion-grsec 30 ${attrs.preConfigure or ""}
··· 1 { stdenv 2 + , lib 3 , overrideDerivation 4 5 # required for gcc plugins ··· 25 inherit extraConfig; 26 ignoreConfigErrors = true; 27 }) (attrs: { 28 + nativeBuildInputs = (lib.chooseDevOutputs [ gmp libmpc mpfr ]) ++ (attrs.nativeBuildInputs or []); 29 preConfigure = '' 30 echo ${localver} >localversion-grsec 31 ${attrs.preConfigure or ""}