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

[ bsd3, distribution, library, nix ] [ Propose Tags ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

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
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]
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 2022-10-19T11:07:42Z
Distributions LTSHaskell:1.7.0.1, NixOS:1.7.0.1, Stackage:1.7.0.1
Downloads 7095 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-10-19 [all 1 reports]

Readme for distribution-nixpkgs-1.7.0.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.