forked from mirrors/nixpkgs
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:
parent
b06ea1146c
commit
ba934e9fc1
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue