distribution-nixpkgs: Types and functions to manipulate the Nixpkgs distribution

[ bsd3, distribution, library, nix ] [ Propose Tags ] [ Report a vulnerability ]

Types and functions to represent, query, and manipulate the Nixpkgs distribution.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1, 1.0.0.1, 1.1, 1.1.1, 1.2, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.0.1, 1.7.1
Change log CHANGELOG.md
Dependencies aeson, base (>4.2 && <5), bytestring, Cabal (>=2.4), containers, deepseq (>=1.4), language-nix (>2), lens, pretty (>=1.1.2), process [details]
Tested with ghc ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5
License BSD-3-Clause
Author Peter Simons <simons@cryp.to>
Maintainer sternenseemann <sternenseemann@systemli.org>
Category Distribution, Nix
Home page https://github.com/NixOS/cabal2nix/tree/master/distribution-nixpkgs#readme
Bug tracker https://github.com/NixOS/cabal2nix/issues
Source repo head: git clone https://github.com/NixOS/cabal2nix(distribution-nixpkgs)
Uploaded by sternenseemann at 2024-05-20T15:59:27Z
Distributions LTSHaskell:1.7.1, NixOS:1.7.1, Stackage:1.7.1
Reverse Dependencies 4 direct, 1 indirect [details]
Downloads 8126 total (83 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-20 [all 1 reports]

Readme for distribution-nixpkgs-1.7.1

[back to package description]

distribution-nixpkgs

hackage release stackage LTS package

Maintainer's Notes

Keeping platform test cases up to date

As nixpkgs expands its list of supported platforms, new system tuples are added. Therefore we need to adjust the test suite regularly in order to cover newly added platforms. For this purpose, the test suite checks the platforms it verifies against a list of system tuples generated from nixpkgs. This list needs to be updated manually, so running the test suite doesn't depend on Nix being available.

To check if any new platforms need to be covered, do the following:

  1. Run ./test/data/regenerate-all-system-tuples.sh /path/to/nixpkgs/checkout. If no local nixpkgs is given, <nixpkgs> will be used.

  2. Run the test suite: cabal v2-test.

  3. If the test suite fails, add test cases for all missing system tuples.

  4. In all cases, change the dates of last update in test/hspec.hs and src/Distribution/Nixpkgs/Meta.hs to the current day.