Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-16.03 14 lines 415 B view raw
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