3[](https://travis-ci.org/typeable/nixpkgs-stackage)
5Nixpkgs overlay adding Stackage Haskell packages at the `pkgs.haskell.packages.stackage`
9Symlink the current `./default.nix` into the `~/.config/nixpkgs/overlays` folder.
12cd ~/.config/nixpkgs/overlays
13ln -s /path/to/default.nix stackage-overlay.nix
18- Stackage LTS releases at `pkgs.haskell.packages.stackage`
19- [stackage2nix][] at `pkgs`
20- build utils at `pkgs.haskell.packages.stackage.lib`
27nix-env -f '<nixpkgs>' -qaP -A haskell.packages.stackage.lts-100
33$ nix-env -i stackage2nix
38Update script will add missing lts releases to `stackage` directory:
46Build derivation for `stackage2nix` from `stackage2nix.json` source.
50 nixpkgs = import <nixpkgs> {
51 overlays = [ (import ../default.nix) ];
53 inherit (nixpkgs) pkgs lib;
55 stackage2nixSrc = pkgs.fetchFromGitHub (lib.importJSON ./stackage2nix.json);
57 stackage = nixpkgs.haskell.packages.stackage.lib.callStackage2nix "stackage2nix" stackage2nixSrc {
67nix-build example.nix -A stackage2nix
70See [examples](./examples) directory for more
73[stackage2nix]: https://github.com/typeable/stackage2nix
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list