beamPackages: Add support for Mix and Erlang.mk

This commit is contained in:
Eric Merritt
2016-04-23 19:03:24 -07:00
parent 3b7aee2e5a
commit 8dbcb4e35e
16 changed files with 43953 additions and 3053 deletions
@@ -1,10 +1,9 @@
{ stdenv, writeText, callPackage, fetchurl,
fetchHex, erlang, hermeticRebar3 ? true, rebar3-nix-bootstrap, tree, fetchFromGitHub }:
fetchHex, erlang, hermeticRebar3 ? true, rebar3-nix-bootstrap,
tree, fetchFromGitHub, hexRegistrySnapshot }:
let
version = "3.0.0-beta.4";
registrySnapshot = callPackage ./registrySnapshot.nix { };
# TODO: all these below probably should go into nixpkgs.erlangModules.sources.*
# {erlware_commons, "0.16.0"},
@@ -89,7 +88,7 @@ stdenv.mkDerivation {
else [];
buildInputs = [ erlang tree ];
propagatedBuildInputs = [ registrySnapshot rebar3-nix-bootstrap ];
propagatedBuildInputs = [ hexRegistrySnapshot rebar3-nix-bootstrap ];
postPatch = ''
echo postPatch