forked from mirrors/nixpkgs
10fd4dff99
This commit moves all the hex based packages to a single namespace. It also moves all the packages to a single file. This is in preparation for the move to a system to generate the hex packages from the hex package store.
11 lines
320 B
Nix
11 lines
320 B
Nix
{ pkgs }: #? import <nixpkgs> {} }:
|
|
|
|
let
|
|
self = rec {
|
|
hex = import ./hex-packages.nix { callPackage = self.callPackage; };
|
|
callPackage = pkgs.lib.callPackageWith (pkgs // self // hex);
|
|
buildErlang = callPackage ./build-erlang.nix {};
|
|
buildHex = callPackage ./build-hex.nix {};
|
|
};
|
|
in self // self.hex
|