{ stdenv, pkgs }: #? import {} }: let self = rec { hex = import ./hex-packages.nix { stdenv = stdenv; callPackage = self.callPackage; }; callPackage = pkgs.lib.callPackageWith (pkgs // self // hex); buildRebar3 = callPackage ./build-rebar3.nix {}; buildHex = callPackage ./build-hex.nix {}; }; in self // self.hex