Skip to content

Commit

Permalink
grsec: Fix build after multiple output shuffling
Browse files Browse the repository at this point in the history
Same problem with overrideDerivation as in
#10721. Would be nice to have
that fixed...
  • Loading branch information
dezgeg committed Aug 30, 2016
1 parent 73f1ade commit 8576332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/build-support/grsecurity/default.nix
@@ -1,4 +1,5 @@
{ stdenv
, lib
, overrideDerivation

# required for gcc plugins
Expand All @@ -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 ""}
Expand Down

0 comments on commit 8576332

Please sign in to comment.