Home Explore Blog Models CI



nixpkgs

1st chunk of `pkgs/development/haskell-modules/replacements-by-name/README.md`
b2f346e91f52bd16292f4ed4b31ce836b4a1aa02c772efc800000001000001c4
# haskell-modules/replacements-by-name

This directory is scanned, and all `.nix` files are called in order to replace their respective packages in the `haskellPackages` set.
They're loaded after `hackage-packages.nix` but before any overrides are applied.
See [non-hackage-packages.nix](../non-hackage-packages.nix) for the implementation.

This is used for selective backports of updates, as the hackage package set won't be updated in its entirety.

Title: Haskell Package Replacements by Name Directory
Summary
The `haskell-modules/replacements-by-name` directory is designed to replace specific packages within the `haskellPackages` set. It achieves this by scanning and executing `.nix` files, which are loaded after `hackage-packages.nix` but prior to any other overrides. This mechanism is primarily utilized for selective backports of updates to Haskell packages without updating the entire Hackage package set.