Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d7e17c2e71fc3c70e24ae69cfe5508e34a64c0a3
https://github.com/NixOS/nixpkgs/commit/d7e17c2e71fc3c70e24ae69cfe5508e34a64c0a3
Author: Gleb Peregud <[email protected]>
Date: 2015-12-19 (Sat, 19 Dec 2015)
Changed paths:
M pkgs/development/erlang-modules/build-erlang.nix
M pkgs/development/erlang-modules/build-hex.nix
Log Message:
-----------
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
Commit: 5d0716ce52237748786acb13a296af9153bd64f0
https://github.com/NixOS/nixpkgs/commit/5d0716ce52237748786acb13a296af9153bd64f0
Author: Peter Simons <[email protected]>
Date: 2015-12-20 (Sun, 20 Dec 2015)
Changed paths:
M pkgs/development/erlang-modules/build-erlang.nix
M pkgs/development/erlang-modules/build-hex.nix
Log Message:
-----------
Merge pull request #11818 from gleber/add-shell-support
Add shell env to buildHex packages.
Compare: https://github.com/NixOS/nixpkgs/compare/e5b15f6b522c...5d0716ce5223_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits