mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
mixRelease: allow specifying buildInputs (#156288)
This commit is contained in:
parent
c07b988286
commit
3db4201bc8
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
, version
|
||||
, src
|
||||
, nativeBuildInputs ? [ ]
|
||||
, buildInputs ? [ ]
|
||||
, meta ? { }
|
||||
, enableDebugInfo ? false
|
||||
, mixEnv ? "prod"
|
||||
|
@ -27,7 +28,7 @@ assert mixNixDeps != { } -> mixFodDeps == null;
|
|||
stdenv.mkDerivation (overridable // {
|
||||
# rg is used as a better grep to search for erlang references in the final release
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ erlang hex elixir makeWrapper git ripgrep ];
|
||||
buildInputs = builtins.attrValues mixNixDeps;
|
||||
buildInputs = buildInputs ++ builtins.attrValues mixNixDeps;
|
||||
|
||||
MIX_ENV = mixEnv;
|
||||
MIX_DEBUG = if enableDebugInfo then 1 else 0;
|
||||
|
|
Loading…
Reference in a new issue