1{ stdenv, pkgs }: #? import <nixpkgs> {} }:
2
3let
4 self = rec {
5 hex = import ./hex-packages.nix { stdenv = stdenv; callPackage = self.callPackage; };
6 callPackage = pkgs.lib.callPackageWith (pkgs // self // hex);
7
8 buildRebar3 = callPackage ./build-rebar3.nix {};
9 buildHex = callPackage ./build-hex.nix {};
10
11 ## Non hex packages
12 webdriver = callPackage ./webdriver {};
13 };
14in self // self.hex