Skip to content

Commit 8e97f51

Browse files
Merge pull request #581 from sternenseemann/cabal2nix-2.19.1
cabal2nix: bump to 2.19.1 and add changelog
2 parents bf7cc8f + e24f727 commit 8e97f51

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

cabal2nix/CHANGELOG.md

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

3+
## 2.19.1
4+
5+
**Warning**: This version of `cabal2nix` generates Nix expressions that
6+
are expected to be used with at least NixOS 22.11 or the unstable
7+
channels at `3928cfa27d9925f9fbd1d211cf2549f723546a81` or later (which
8+
should be all unstable channels published after 2022-10-23) due to changes
9+
how `libcrypt` is provided by `nixpkgs`. For details read below.
10+
11+
* `cabal2nix` and `hackage2nix` will now emit a dependency on `libxcrypt`
12+
if the `crypt` library is requested by a package description. This has
13+
been done because `nixpkgs` has
14+
[disabled `libcrypt` being bundled with `glibc`](https://github.com/NixOS/nixpkgs/pull/181764),
15+
so the library will need to be pulled in from elsewhere.
16+
These new generated nix expressions may not work correctly with older
17+
versions of `nixpkgs` (since two `libcrypt`s would be pulled in).
18+
Versions expected to work are listed in the warning above.
19+
See also [#576](https://github.com/NixOS/cabal2nix/pull/576).
20+
* `cabal2nix` and `hackage2nix` can now resolve the `FLAC` library name.
21+
See also [#567](https://github.com/NixOS/cabal2nix/pull/567).
22+
* Fix test suite compilation with `Cabal >= 3.8`.
23+
See also [#572](https://github.com/NixOS/cabal2nix/pull/572).
24+
* Packages closely tied to `cabal2nix` have been merged into the main
25+
`cabal2nix` source repository. As a consequence, the cabal2nix source
26+
code has been moved into the `cabal2nix` subdirectory.
27+
See also [#567](https://github.com/NixOS/cabal2nix/pull/567).
28+
329
## 2.19.0
430

531
Note that some of the API has also changed in a breaking

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.19.0
2+
version: 2.19.1
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)