forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to new Stackage snapshot (digital-asset#941)
I also started an Upgrading.md document. I’ll add the documentation for upgrading nixpkgs in a separate PR.
- Loading branch information
1 parent
1a069ad
commit 66541f1
Showing
6 changed files
with
836 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# How to upgrade packages in this repo | ||
|
||
## Stackage | ||
|
||
To update the Stackage snapshot you need to clone the hazel repository into a | ||
separate directory: | ||
|
||
``` | ||
$ git clone https://github.com/tweag/rules_haskell.git | ||
``` | ||
|
||
Change into the hazel directory. | ||
|
||
``` | ||
$ cd rules_haskell/hazel | ||
``` | ||
|
||
Then execute the following command to update to the specified Stackage | ||
snapshot, where `$PROJECT` points to the root of this repository: | ||
(Requires `stack`) | ||
|
||
``` | ||
$ Stackage.hs lts-12.4 "$PROJECT/hazel/packages.bzl" | ||
``` | ||
|
||
On NixOS you may need to modify `Stackage.hs` to append the following flag to | ||
the list of `stack` intrepreter flags: `--nix-packages zlib`. | ||
|
||
This will take a while. | ||
|
||
|
||
## Nixpkgs | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.