~aasg/nixexprs

ref: 1286f4fa6d0b5c8409fd60ae92d1bb2e69a39da9 nixexprs/ci.nix -rw-r--r-- 1.2 KiB
1286f4fa — Aluísio Augusto Silva Gonçalves 5 months ago
Merge branch 'macos-ci' into master
5b4b4074 — Aluísio Augusto Silva Gonçalves 5 months ago
ci.nix: Filter out packages incompatible with Nixpkgs system

It's the same filtering we use in flake.nix.  I'm not sure if filtering
on `meta.platforms` is needed, but that assert on the `linux` derivation
kills the whole job before it even starts.
9749780c — Aluísio Augusto Silva Gonçalves 5 months ago
Redefine package set on top of overlays

I wanted to reduce duplication, but ended up somewhat in the same place
(with manifest.nix).  Yet I find it much more elegant.
b3a95d94 — Aluísio Augusto Silva Gonçalves 5 months ago
ci.nix: Fix patched package list generation

The core of the fix is importing ./patches with the extended package
set.  The rest is just trying to keep the same structure (no flattening)
while filtering out functions (`packagesFor` and the like).
68211550 — Aluísio Augusto Silva Gonçalves 5 months ago
ci: Add Nix expression with all possible package configurations

The new ci.nix, when passed to nix-build:
1. runs the lib tests;
2. builds new packages when imported directly from ./pkgs;
3. builds new packages from the overlay;
4. builds patched packages from the overlay.

These should uncover issues in the direct-overlay translation, which
we'll need before consolidating */default.nix and */overlay.nix.

I don't think we'll support loading the patched packages directly,
moving forward.
Next