This is responsible for updating the pinned packages from Stackage Nightly in the file pkgs/development/haskell-modules/configuration-hackage2nix.yaml.
One section of this script ignores the package versions from Stackage for a given set of packages:
https://github.com/NixOS/nixpkgs/pull/121391 added some scripts that will be responsible for regenerating the Haskell package set from Hackage.
One of these scripts is
maintainers/scripts/haskell/update-stackage.sh
: https://github.com/NixOS/nixpkgs/blob/5d4dc79acbb98f935f55fec733c16c0d730cbdeb/maintainers/scripts/haskell/update-stackage.shThis is responsible for updating the pinned packages from Stackage Nightly in the file pkgs/development/haskell-modules/configuration-hackage2nix.yaml.
One section of this script ignores the package versions from Stackage for a given set of packages:
https://github.com/NixOS/nixpkgs/blob/5d4dc79acbb98f935f55fec733c16c0d730cbdeb/maintainers/scripts/haskell/update-stackage.sh#L22-L41
This was useful when Nixpkgs used to track Stackage LTS, but no longer necessary since we now track Stackage Nightly.
Most packages should be removed from this section, except for Nixpkgs-specific packages (like
jailbreak-cabal
,distribution-nixpkgs
, andcabal2nix
).Note that the above file is only currently on the
haskell-updates
branch. A PR fixing this should go to thehaskell-updates
branch.