mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
, mixEnv ? "prod"
|
, mixEnv ? "prod"
|
||||||
, debug ? false
|
, debug ? false
|
||||||
, meta ? { }
|
, meta ? { }
|
||||||
|
, patches ? []
|
||||||
, ...
|
, ...
|
||||||
}@attrs:
|
}@attrs:
|
||||||
|
|
||||||
|
@ -36,6 +37,8 @@ stdenvNoCC.mkDerivation (attrs // {
|
||||||
runHook postConfigure
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
inherit patches;
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = attrs.installPhase or ''
|
installPhase = attrs.installPhase or ''
|
||||||
|
|
Loading…
Reference in a new issue