mirror of
https://github.com/tweag/asterius.git
synced 2024-08-15 11:40:36 +03:00
773 B
773 B
The bazel build
External dependencies to keep in sync.
- The
bazel/stack.yaml
file should be kept in sync with thenix.cabal.project
files as we rely on this custom stack snapshot for external haskell dependencies.
On updating this file, the bazel/stackage_snapshot.json
should be generated again by executing bazel run @stackage-unpinned//:pin
.
- The
HASKELL_BINARYEN_COMMIT
variable from theWORKSPACE
file.
Because of a rules_haskell
issue we do not recover this library through the stack snapshot.
- The
bazel/nix/bazel_deps.nix
file mimics theshell.nix
file and exposes necessary attributes to bazel. It the other nix files are refactored it may be necessary to also modify this one.