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...
This commit is contained in:
parent
73f1ade407
commit
8576332fdf
|
@ -1,4 +1,5 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, overrideDerivation
|
||||
|
||||
# required for gcc plugins
|
||||
|
@ -24,7 +25,7 @@ overrideDerivation (kernel.override {
|
|||
inherit extraConfig;
|
||||
ignoreConfigErrors = true;
|
||||
}) (attrs: {
|
||||
nativeBuildInputs = [ gmp libmpc mpfr ] ++ (attrs.nativeBuildInputs or []);
|
||||
nativeBuildInputs = (lib.chooseDevOutputs [ gmp libmpc mpfr ]) ++ (attrs.nativeBuildInputs or []);
|
||||
preConfigure = ''
|
||||
echo ${localver} >localversion-grsec
|
||||
${attrs.preConfigure or ""}
|
||||
|
|
Loading…
Reference in a new issue