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 ''