buildMix: switch buildInputs to nativeBuildInputs

This commit is contained in:
happysalada 2021-06-06 08:42:28 +09:00 committed by Raphael Megzari
parent e41c7bc1f8
commit 3bc80f1938

@ -23,8 +23,7 @@ let
pkg = self: stdenv.mkDerivation (attrs // {
name = "${name}-${version}";
inherit version;
inherit src;
inherit version src buildInputs;
MIX_ENV = mixEnv;
MIX_DEBUG = if enableDebugInfo then 1 else 0;
@ -41,7 +40,7 @@ let
addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
'';
buildInputs = buildInputs ++ [ elixir hex ];
nativeBuildInputs = [ elixir hex ];
propagatedBuildInputs = propagatedBuildInputs ++ beamDeps;
buildPhase = attrs.buildPhase or ''