@@ -1,6 +1,6 @@
1−# Nix
1+# nixpkgs-stackage
3−Nixpgs overlay
3+Nixpkgs overlay with Haskell Stackage packages
@@ -38,4 +38,33 @@ Update script will add missing lts releases to `stackage` directory:
38./update.sh
38./update.sh
43+Build derivation example for `stackage2nix` source repo.
47+ nixpkgs = import <nixpkgs> {
48+ overlays = [ (import ../default.nix) ];
50+ inherit (nixpkgs) pkgs lib;
52+ stackage2nixSrc = pkgs.fetchFromGitHub (lib.importJSON ./stackage2nix.json);
54+ stackage = nixpkgs.haskell.packages.stackage.lib.callStackage2nix "schematic" stackage2nixSrc {
58+ stackage.stackage2nix
67+See [examples](./examples) directory for more
41[stackage2nix]: https://github.com/typeable/stackage2nix
70[stackage2nix]: https://github.com/typeable/stackage2nix