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};
}
# Add "passthru" tests
// flatMapAttrs {
// flatMapAttrs ({
"" = nixpkgsFor.${system}.native;
# FIXME: Static build on darwin currently broken
# "static-" = nixpkgsFor.${system}.static;
}
} // lib.optionalAttrs (! nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) {
# TODO: enable static builds for darwin, blocked on:
# https://github.com/NixOS/nixpkgs/issues/320448
"static-" = nixpkgsFor.${system}.static;
})
(nixpkgsPrefix: nixpkgs:
flatMapAttrs nixpkgs.nix-components
(pkgName: pkg: