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
commit 7f23d9fc5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;