flake: update nixpkgs

• stdenvNoCC no longer requires clearing DEVELOPER_DIR and SDKROOT
• add package builds as checks
This commit is contained in:
Michael Roitzsch
2025-08-30 08:59:10 +02:00
parent d7fe5fd055
commit 04a302d6f0
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
};
};
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: {
packages.aarch64-darwin = let
xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {};
in {
@@ -99,7 +100,6 @@
src = snap-util;
nativeBuildInputs = [ xcode ];
preBuild = ''
unset DEVELOPER_DIR SDKROOT
NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'
'';
installPhase = ''
@@ -137,5 +137,7 @@
'';
};
};
checks = self.packages;
};
}