@@ -1,18 +1,18 @@
1−# stack2nix
1+# stackage2nix
22
3−[](https://travis-ci.org/4e6/stack2nix)
3+[](https://travis-ci.org/4e6/stackage2nix)
44
5−`stack2nix` converts a Stack file into a Nix Haskell packages set.
5+`stackage2nix` converts a Stack file into a Nix Haskell packages set.
66It creates LTS Stackage packages set, and applies appropriate overrides on top of it.
77
88```
9−stack2nix \
9+stackage2nix \
1010 --lts-haskell "$LTS_HASKELL_REPO" \
1111 --all-cabal-hashes "$ALL_CABAL_HASHES_REPO" \
1212 .
1313```
1414
15−`stack2nix` has three required arguments:
15+`stackage2nix` has three required arguments:
1616- `--lts-haskell` - path to [fpco/lts-haskell](https://github.com/fpco/lts-haskell)
1717- `--all-cabal-hashes` - path to [commercialhaskell/all-cabal-hashes](https://github.com/commercialhaskell/all-cabal-hashes) checked out to `hackage` branch
1818- `.` - path to stack.yaml file or directory
@@ -32,7 +32,7 @@ nix-build -A <package-name>
3232
3333Complex projects may require some extra customization.
3434Snippet `override.nix` below shows a minimal example of how to apply additional
35−overrides on top of Haskell packages set produced by `stack2nix`.
35+overrides on top of Haskell packages set produced by `stackage2nix`.
3636
3737```
3838with import <nixpkgs> {};
@@ -40,13 +40,13 @@ with pkgs.haskell.lib;
4040let haskellPackages = import ./. {};
4141in haskellPackages.override {
4242 overrides = self: super: {
43− stack2nix = disableSharedExecutables super.stack2nix;
43+ stackage2nix = disableSharedExecutables super.stackage2nix;
4444 };
4545}
4646```
4747
4848```
49−nix-build -A stack2nix override.nix
49+nix-build -A stackage2nix override.nix
5050```
5151
5252For more complex overrides and detailed information on how to work with Haskell packages in Nix, see Nixpkgs manual [User’s Guide to the Haskell Infrastructure](http://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure)
@@ -54,5 +54,5 @@ For more complex overrides and detailed information on how to work with Haskell
5454
5555## Examples
5656
57−For other examples of `stack2nix` usage, see [4e6/stack2nix-examples](https://github.com/4e6/stack2nix-examples) repository.
58−It verifies `stack2nix` by running it on different public projects.
57+For other examples of `stackage2nix` usage, see [4e6/stackage2nix-examples](https://github.com/4e6/stackage2nix-examples) repository.
58+It verifies `stackage2nix` by running it on different public projects.