~aasg/nixexprs

1286f4fa — Aluísio Augusto Silva Gonçalves 3 months ago
Merge branch 'macos-ci' into master
b7e91a3d — Aluísio Augusto Silva Gonçalves 3 months ago
dma: Limit supported platforms to Linux and the BSDs

As far as I can tell, none of the other Unix have the requisite headers
(namely `arpa/nameser.h`).
35306378 — Aluísio Augusto Silva Gonçalves 3 months ago
dyndnsc: Disable tests involving multiprocessing on Darwin
6daf3168 — Aluísio Augusto Silva Gonçalves 3 months ago
drep: Depend on CoreServices on macOS
5b4b4074 — Aluísio Augusto Silva Gonçalves 3 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.
5a695ecc — Aluísio Augusto Silva Gonçalves 3 months ago
readme: Add new build status badges

Not only add the new macOS build, but also separate our builds.sr.ht
builds.
54f5661a — Aluísio Augusto Silva Gonçalves 3 months ago
ci: Build and cache packages for macOS via GitHub Actions

After spending a massive amount of time making RetroArch build on macOS
(github:NixOS/nixpkgs#102230), I've decided to make sure my packages
have the right platforms on their `meta.platforms` and `meta.broken`.

Looks like builds.sr.ht has FreeBSD images.  Might try to build for that
later.
7cdebded — Aluísio Augusto Silva Gonçalves 3 months ago
dyndnsc: Remove import fallback for default package

pkgs/default.nix no longer exists, and I'm not sure we can import the
root default.nix without introducing a cycle.  Should someone want to
use this module without our pkgs overlay, they can specify the package
manually.
50ca12cb — Aluísio Augusto Silva Gonçalves 3 months ago
dma: Allow package to be configured

This is mostly so we can drop the import for a file that no longer
exists (pkgs/default.nix), but also for consistency with other NixOS
modules.
d91b29c0 — Aluísio Augusto Silva Gonçalves 3 months ago
flake: Compose new and patched packages into a single overlay
9749780c — Aluísio Augusto Silva Gonçalves 3 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 3 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).
a23e94b4 — Aluísio Augusto Silva Gonçalves 3 months ago
ci: Print call trace on error

This should make it easier to pinpoint errors deep in attributes within
ci.nix.
68211550 — Aluísio Augusto Silva Gonçalves 3 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.
f11028d5 — Aluísio Augusto Silva Gonçalves 3 months ago
ci: Rework build steps to enable Nix features

Seems that nix-command is not enabled for `nixUnstable` by default.
Move the setup and tests around so we can enable it (and flakes) first.
1e5f499d — Aluísio Augusto Silva Gonçalves 3 months ago
ci: Fix flake check invocation
6aaa18bb — Aluísio Augusto Silva Gonçalves 3 months ago
Add experimental flake support
8b7a92e3 — Aluísio Augusto Silva Gonçalves 3 months ago
Rename overlay parameters to match flake style
30dc87d1 — Aluísio Augusto Silva Gonçalves 3 months ago
modules/dma: Fix fallback package path

You can't just `{ inherit pkgs; }` a callPackage.
f824a765 — Aluísio Augusto Silva Gonçalves 3 months ago
lib: Drop Nix off declarative environment function

That really doesn't play nice when you want `nixUnstable` instead.
Now we put that in a `baseEnvironment` that can be overriden.

This is a breaking change.
8ad74633 — Aluísio Augusto Silva Gonçalves 3 months ago
modules/wireguard-systemd: Support keepalive setting

This field was originally added manually to the attrset (so we could
convert nulls into zeroes) before we switched to using pipe, and we
forgot to un-filter it once we switched.
Next