move callPackage into the export set for 'Erlang'

This allows us to have a callPackages that includes erlang packages
This commit is contained in:
Eric Merritt 2016-01-01 20:07:46 -08:00
parent 99bf9bf07a
commit a0309d871c

View File

@ -1,9 +1,10 @@
{ pkgs }: #? import <nixpkgs> {} }:
let
callPackage = pkgs.lib.callPackageWith (pkgs // self);
self = rec {
callPackage = pkgs.lib.callPackageWith (pkgs // self);
buildErlang = callPackage ./build-erlang.nix {};
buildHex = callPackage ./build-hex.nix {};