beam/fetchMixDeps: allow adding patches

Needed to modify e.g. a few things in the `plausible` package to get it
running properly.
This commit is contained in:
Maximilian Bosch 2021-05-29 16:12:51 +02:00 committed by Raphael Megzari
parent b06ea1146c
commit ba934e9fc1

View file

@ -7,6 +7,7 @@
, mixEnv ? "prod"
, debug ? false
, meta ? { }
, patches ? []
, ...
}@attrs:
@ -36,6 +37,8 @@ stdenvNoCC.mkDerivation (attrs // {
runHook postConfigure
'';
inherit patches;
dontBuild = true;
installPhase = attrs.installPhase or ''