Skip to content

Commit

Permalink
nix: add instructions for haskell-packages.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Apr 16, 2024
1 parent 1bf0c54 commit 3a33a09
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions nix/overlays/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ let
# - When adding a new library version here, postgrest.cabal and stack.yaml must also be updated
#
# Notes:
# - This should NOT be the first place to start managing dependencies. Check postgrest.cabal.
# - When adding a new package version here, you have to update stack:
# + For stack.yml add:
# - When adding a new package version here, update cabal.
# + Update postgrest.cabal with the package version
# + Update cabal.project.freeze. Just set it to the current timestamp then run `cabal build`. It will tell you the correct timestamp for the index state.
# - When adding a new package version here, you have to update stack.
# + To update stack.yaml add:
# extra-deps:
# - <package>-<ver>
# + For stack.yml.lock, CI should report an error with the correct lock, copy/paste that one into the file
# + For stack.yaml.lock, CI should report an error with the correct lock, copy/paste that one into the file
# - To modify and try packages locally, see "Working with locally modified Haskell packages" in the Nix README.

configurator-pg =
Expand Down

0 comments on commit 3a33a09

Please sign in to comment.