1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

Test static build of nix-util on non-darwin

This commit is contained in:
Robert Hensing 2024-06-25 16:56:45 +02:00
parent 1eaddb209d
commit ae3304bde9

View file

@ -332,11 +332,13 @@
#perlBindings = self.hydraJobs.perlBindings.${system}; #perlBindings = self.hydraJobs.perlBindings.${system};
} }
# Add "passthru" tests # Add "passthru" tests
// flatMapAttrs { // flatMapAttrs ({
"" = nixpkgsFor.${system}.native; "" = nixpkgsFor.${system}.native;
# FIXME: Static build on darwin currently broken } // lib.optionalAttrs (! nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) {
# "static-" = nixpkgsFor.${system}.static; # TODO: enable static builds for darwin, blocked on:
} # https://github.com/NixOS/nixpkgs/issues/320448
"static-" = nixpkgsFor.${system}.static;
})
(nixpkgsPrefix: nixpkgs: (nixpkgsPrefix: nixpkgs:
flatMapAttrs nixpkgs.nix-components flatMapAttrs nixpkgs.nix-components
(pkgName: pkg: (pkgName: pkg: