NixOS / cabal2nix

Generate Nix build instructions from a Cabal file
https://haskell4nix.readthedocs.io
Other
352 stars 154 forks source link

cabal2nix: resolve crypt library to libxcrypt #576

Closed sternenseemann closed 1 year ago

sternenseemann commented 1 year ago

NixOS has disabled glibc's libcrypt and is using libxcrypt now (starting with 22.11, that is): https://github.com/NixOS/nixpkgs/pull/181764

This means we'll need to resolve the crypt identifier to libxcrypt. Releases including this commit need to go into NixOS unstable (as soon as the current staging iteration has finished) and NixOS 22.11. A release including this commit may not be backported to 22.05, as it'd likely break builds there.

sternenseemann commented 1 year ago

Tested on current haskell-updates (the libxcrypt changes got merged), seems to work as intended. We should also make a release before 22.11.