Types and functions to manipulate the Nixpkgs distribution


Version on this page:1.6.2
LTS Haskell 19.13:1.6.2
Stackage Nightly 2022-06-26:1.6.2
Latest on Hackage:1.7.0

See all snapshots distribution-nixpkgs appears in

BSD-3-Clause licensed by Peter Simons
Maintained by sternenseemann
This version can be pinned in stack with:distribution-nixpkgs-1.6.2@sha256:27a499bfa552060d756011a7e1d073688eb2e6f701f27c8478e5ce4051fd7146,2286

Module documentation for 1.6.2

Used by 1 package in nightly-2022-05-18(full list with versions):


hackage release stackage LTS package


Revision history for distribution-nixpkgs


  • Expect MonadFailDesugaring (or equivalent behavior) to be the default, requiring GHC >= 8.6.1. Adds support for GHC 9.2.1 (rc1).


  • Distribution.Nixpkgs.Meta: support aarch64-darwin
    • Render Platform AArch64 OSX to "aarch64-darwin"
    • Add Platform AArch64 OSX to allKnownPlatforms


  • Distribution.Nixpkgs.PackageMap
    • readNixpkgPackageMap: instead of a list of arguments to pass to nix-env, take path to nixpkgs and an optional nix expression to pass to it as arguments.
    • readNixpkgPackageMap: populate PackageMap with all attribute paths that point to derivations instead of just one per derivation. This fixes resolve not finding certain identifiers if there were two attributes pointing to the same derivation in nixpkgs. See also #9.