1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/erlang-modules
Gleb Peregud d7e17c2e71 Add shell env to buildHex packages.
This adds erlangPackages.${name}.env, which is usable to launch a shell
with the package and it's dependencies like this:

    nix-shell -A erlangPackages.lager.env

This required:

1) refactoring buildHex to become a fixed-point function,
2) moves output of a package into $out/${name},
3) introduces erlEnv (buildEnv, which links in package and it's deps
   into one directory - a super-simple plagiarization of
   haskellPackages.compiler.ghcWithPackages) and
4) shell function producing a un-buildable derivation to be used by
   nix-shell
2015-12-19 00:07:54 +01:00
..
hex Allow specifying meta for buildHex and buildErlang. 2015-12-15 14:01:38 +01:00
build-erlang.nix Add shell env to buildHex packages. 2015-12-19 00:07:54 +01:00
build-hex.nix Add shell env to buildHex packages. 2015-12-19 00:07:54 +01:00
default.nix Add support for rebar3 plugins to buildHex. 2015-12-15 14:01:37 +01:00