Merge pull request #59755 from matthewbauer/patches-in-make-derivation

make-derivation: put patches in all derivations
This commit is contained in:
Matthew Bauer
2019-04-23 18:33:04 -04:00
committed by GitHub

View File

@@ -86,6 +86,8 @@ in rec {
, hardeningEnable ? []
, hardeningDisable ? []
, patches ? []
, ... } @ attrs:
let
@@ -235,6 +237,8 @@ in rec {
++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
inherit patches;
inherit doCheck doInstallCheck;
inherit outputs;