From ba934e9fc1898c749a3577ca85607e67e0a6c692 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 29 May 2021 16:12:51 +0200 Subject: [PATCH] beam/fetchMixDeps: allow adding patches Needed to modify e.g. a few things in the `plausible` package to get it running properly. --- pkgs/development/beam-modules/fetch-mix-deps.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/beam-modules/fetch-mix-deps.nix b/pkgs/development/beam-modules/fetch-mix-deps.nix index 73365bd1a93e..0c6f4e35a90e 100644 --- a/pkgs/development/beam-modules/fetch-mix-deps.nix +++ b/pkgs/development/beam-modules/fetch-mix-deps.nix @@ -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 ''