Merge pull request #59755 from matthewbauer/patches-in-make-derivation
make-derivation: put patches in all derivations
This commit is contained in:
commit
7f23d9fc5f
@ -86,6 +86,8 @@ in rec {
|
|||||||
, hardeningEnable ? []
|
, hardeningEnable ? []
|
||||||
, hardeningDisable ? []
|
, hardeningDisable ? []
|
||||||
|
|
||||||
|
, patches ? []
|
||||||
|
|
||||||
, ... } @ attrs:
|
, ... } @ attrs:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -235,6 +237,8 @@ in rec {
|
|||||||
++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
|
++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
|
||||||
++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
|
++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
|
||||||
|
|
||||||
|
inherit patches;
|
||||||
|
|
||||||
inherit doCheck doInstallCheck;
|
inherit doCheck doInstallCheck;
|
||||||
|
|
||||||
inherit outputs;
|
inherit outputs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user