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

6
flake.lock generated
View File

@@ -50,11 +50,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734988233, "lastModified": 1756381814,
"narHash": "sha256-Ucfnxq1rF/GjNP3kTL+uTfgdoE9a3fxDftSfeLIS8mA=", "narHash": "sha256-tzo7YvAsGlzo4WiIHT0ooR59VHu+aKRQdHk7sIyoia4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "de1864217bfa9b5845f465e771e0ecb48b30e02d", "rev": "aca2499b79170038df0dbaec8bf2f689b506ad32",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -19,6 +19,7 @@
}; };
}; };
outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: { outputs = { self, nixpkgs, acextract, command-line, dsc-extractor, snap-util }: {
packages.aarch64-darwin = let packages.aarch64-darwin = let
xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {}; xcode = nixpkgs.legacyPackages.aarch64-darwin.xcodeenv.composeXcodeWrapper {};
in { in {
@@ -99,7 +100,6 @@
src = snap-util; src = snap-util;
nativeBuildInputs = [ xcode ]; nativeBuildInputs = [ xcode ];
preBuild = '' preBuild = ''
unset DEVELOPER_DIR SDKROOT
NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd' NIX_CFLAGS_COMPILE='-idirafter ${snapshot-header}/bsd'
''; '';
installPhase = '' installPhase = ''
@@ -137,5 +137,7 @@
''; '';
}; };
}; };
checks = self.packages;
}; };
} }