Skip to content

Commit 991b463

Browse files
cabal2nix: prepare 2.21.3
1 parent 24070d9 commit 991b463

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

cabal2nix/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Revision History for cabal2nix
22

3+
## 2.21.3
4+
5+
* Add `--src-expression` flag to `cabal2nix` which allows overriding
6+
the Nix expression used for the `src` attribute of the generated
7+
package expression. This can be useful when cabal2nix can't infer
8+
the source expression correctly from the command line arguments,
9+
the source is passed in via `--extra-arguments`, the source needs
10+
to use `filterSource` etc.
11+
12+
See [#694](https://github.com/NixOS/cabal2nix/pull/694) and
13+
[#684](https://github.com/NixOS/cabal2nix/issues/684).
14+
* Resolve expressions failing to evaluate if the package they're based
15+
on uses an SPDX-identified license that isn't part of `lib.licenses`.
16+
Note that missing licenses now generate an evaluation warning.
17+
See [#707](https://github.com/NixOS/cabal2nix/issues/707) and
18+
[#708](https://github.com/NixOS/cabal2nix/pull/708).
19+
* Update attribute name for the `odbc` library. Assumes Nixpkgs
20+
with [nixpkgs#489676](https://github.com/NixOS/nixpkgs/pull/489676).
21+
322
## 2.21.2
423

524
* Add support for Cabal `>= 3.16`, see

cabal2nix/cabal2nix.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: cabal2nix
2-
version: 2.21.2
2+
version: 2.21.3
33
synopsis: Convert Cabal files into Nix build instructions.
44
description:
55
Convert Cabal files into Nix build instructions. Users of Nix can install the latest

0 commit comments

Comments
 (0)