Release 0.11
[0.11.0] - 2019-10-10
Highlights
-
Various improvements to
cabal_binary/library
andstack_snapshot
. -
Initial experimental Windows support for
cabal_binary/library
and
stack_snapshot
. -
start
script for setting uprules_haskell
allows to set up a nixpkgs-based
bazel workspace, for NixOS users, via the--use-nix
option.
Added
- Windows-support for cabal/stack.
See #1074. stack_snapshot
:vendored_packages
attribute for manually
overriding packages in a stack snapshot.
There is an example in ./examples/WORKSPACE.
See #1060.
Removed
- The
haskell/haskell.bzl
entrypoint, which was deprecated in the
previous release, was removed. Please usehaskell/defs.bzl
instead.
Changed
- The
deps
attribute tostack_snapshot
has been replaced by the
extra_deps
attribute. It no longer takes a list of dependencies to be added
to all packages, but instead a dictionary specifying additional dependencies
to select packages. Seestack_snapshot
API docs for an example. See
#1068.
Fixed
- Unified the
cc_wrapper
on all OSes.- Consistently shortens paths of library dependencies to work around
size limits on Windows and macOS - fixes
.so/.dylib
ending confusing on macOS - improves the REPL on macOS
See #1039.
- Consistently shortens paths of library dependencies to work around
cabal_binary/library
targets don’t name-clash anymorehaskell_cabal_library
no longer buildsexe
components, speeding
up builds.
See #1095.- Haddock information for protobuf rules generates correctly.
See #1108.