# Nixpkgs GHC deprecation policy

**URL:** <https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071>\
**Category:** Announcements\
**Created:** [May 11, 2025, 8:02pm UTC](https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071 "2025-05-11T20:02:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![maralorn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/maralorn/32/449_2.png) [@maralorn](https://discourse.haskell.org/u/maralorn)\
**Post date:** [May 11, 2025, 8:02pm UTC](https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071/1 "2025-05-11T20:02:37Z")

</div>

This is a cross-post of the announcement of the GHC deprecation policy we intend to implement in nixpkgs.

> **[Nixpkgs GHC Deprecation Policy - User Feedback Necessary](https://discourse.nixos.org/t/nixpkgs-ghc-deprecation-policy-user-feedback-necessary/64153)**
>
> (This is not an official Nix RFC. We think this decision falls into the responsibility of the Haskell maintainers team, nevertheless we are literally requesting comments.) Context Currently nixpkgs has no rules for which GHC versions it supports....

Thank you for your attention.

---

<div class="post-metadata">

**Author:** ![jaror](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/jaror/32/3271_2.png) [@jaror](https://discourse.haskell.org/u/jaror)\
**Post date:** [May 11, 2025, 8:49pm UTC](https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071/2 "2025-05-11T20:49:25Z")

</div>

if the main reason to keep old ghc versions is to support cabal and stack based development on nixos then perhaps a good alternative is to add nixos support to ghcup. I think rustup just works on nixos, so it should be possible.

---

<div class="post-metadata">

**Author:** ![simonmic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/simonmic/32/1796_2.png) [@simonmic](https://discourse.haskell.org/u/simonmic)\
**Post date:** [May 11, 2025, 9:03pm UTC](https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071/3 "2025-05-11T21:03:26Z")

</div>

That’s a very nice RFC.

---

<div class="post-metadata">

**Author:** ![juhp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/juhp/32/323_2.png) [@juhp](https://discourse.haskell.org/u/juhp)\
**Post date:** [May 15, 2025, 11:00am UTC](https://discourse.haskell.org/t/nixpkgs-ghc-deprecation-policy/12071/4 "2025-05-15T11:00:27Z")

</div>

Okay this is interesting, thanks for sharing.

As the Fedora GHC/Haskell maintainer I “feel you” since I am also currently maintaining GHC packages from 8.10 to 9.12 also (and I just recently built them all for EPEL 10). I will gradually have to drop the oldest versions over time slowly, but I haven’t dropped any yet since introducing the ghcX.Y packages into Fedora. It is certainly a burden to keep them building, and I really wish we didn’t “need” to do this (and with less frequent major ghc versions hopefully).
