Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions cabal2nix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Revision History for cabal2nix

## 2.21.3

* Add `--src-expression` flag to `cabal2nix` which allows overriding
the Nix expression used for the `src` attribute of the generated
package expression. This can be useful when cabal2nix can't infer
the source expression correctly from the command line arguments,
the source is passed in via `--extra-arguments`, the source needs
to use `filterSource` etc.

See [#694](https://github.com/NixOS/cabal2nix/pull/694) and
[#684](https://github.com/NixOS/cabal2nix/issues/684).
* Resolve expressions failing to evaluate if the package they're based
on uses an SPDX-identified license that isn't part of `lib.licenses`.
Note that missing licenses now generate an evaluation warning.
See [#707](https://github.com/NixOS/cabal2nix/issues/707) and
[#708](https://github.com/NixOS/cabal2nix/pull/708).
* Update attribute name for the `odbc` library. Assumes Nixpkgs
with [nixpkgs#489676](https://github.com/NixOS/nixpkgs/pull/489676).

## 2.21.2

* Add support for Cabal `>= 3.16`, see
Expand Down
2 changes: 1 addition & 1 deletion cabal2nix/cabal2nix.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cabal2nix
version: 2.21.2
version: 2.21.3
synopsis: Convert Cabal files into Nix build instructions.
description:
Convert Cabal files into Nix build instructions. Users of Nix can install the latest
Expand Down
Loading