buildMix: switch buildInputs to nativeBuildInputs
This commit is contained in:
parent
e41c7bc1f8
commit
3bc80f1938
@ -23,8 +23,7 @@ let
|
|||||||
|
|
||||||
pkg = self: stdenv.mkDerivation (attrs // {
|
pkg = self: stdenv.mkDerivation (attrs // {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
inherit version;
|
inherit version src buildInputs;
|
||||||
inherit src;
|
|
||||||
|
|
||||||
MIX_ENV = mixEnv;
|
MIX_ENV = mixEnv;
|
||||||
MIX_DEBUG = if enableDebugInfo then 1 else 0;
|
MIX_DEBUG = if enableDebugInfo then 1 else 0;
|
||||||
@ -41,7 +40,7 @@ let
|
|||||||
addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
|
addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = buildInputs ++ [ elixir hex ];
|
nativeBuildInputs = [ elixir hex ];
|
||||||
propagatedBuildInputs = propagatedBuildInputs ++ beamDeps;
|
propagatedBuildInputs = propagatedBuildInputs ++ beamDeps;
|
||||||
|
|
||||||
buildPhase = attrs.buildPhase or ''
|
buildPhase = attrs.buildPhase or ''
|
||||||
|
Loading…
Reference in New Issue
Block a user