b509dadbf1
The buildErlang function is broken and and leads Engineers down a wrong path. For vanilla erlang that doesn't user rebar3, its better to simply use `stdenv.mkDerivation` along with a set setupHook then the existing functionality.
9 lines
267 B
Nix
9 lines
267 B
Nix
{ pkgs }: #? import <nixpkgs> {} }:
|
|
|
|
let
|
|
self = rec {
|
|
hex = import ./hex-packages.nix { callPackage = self.callPackage; };
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // self // hex);
|
|
buildHex = callPackage ./build-hex.nix {};
|
|
};
|
|
in self // self.hex
|