fix: aerospace more strict, system fix

This commit is contained in:
Rasyidan Akbar F. 2026-01-06 13:55:15 +07:00
commit 3aed04f7f5
7 changed files with 51 additions and 60 deletions

View file

@ -42,29 +42,11 @@
forEachSystem = f: genAttrs systems (system: f system);
# Overlay to pin git to stable version (avoids 2.51.x FamilyDisplayName warning on macOS)
gitOverlay = final: prev: {
git = (import inputs.nixpkgs-stable {
system = prev.stdenv.hostPlatform.system;
}).git;
};
# Overlay to skip syrupy tests (broken in nixpkgs unstable)
# Uses pythonPackagesExtensions to apply to all Python versions
syrupyOverlay = final: prev: {
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(pyFinal: pyPrev: {
syrupy = pyPrev.syrupy.overrideAttrs (old: { doCheck = false; });
})
];
};
overlaysList =
[ ghostty.overlays.default
chaotic.overlays.default
gitOverlay
syrupyOverlay
];
# No overlays needed for Darwin builds
# - ghostty: installed via homebrew cask
# - gitOverlay: removed - was causing mypy to rebuild from source
# - chaotic: removed - only needed for NixOS, was causing nix to rebuild with failing tests
overlaysList = [ ];
mkPkgs = system:
import nixpkgs {