nixStatic: mark as broken on darwin (#357185)

This commit is contained in:
Jörg Thalheim 2024-11-19 10:05:04 +01:00 committed by GitHub
parent 05d55345e6
commit 0705964c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,6 +327,8 @@ self = stdenv.mkDerivation {
license = licenses.lgpl21Plus;
inherit maintainers;
platforms = platforms.unix;
# Requires refactorings in nixpkgs: https://github.com/NixOS/nixpkgs/pull/356983
broken = stdenv.hostPlatform.isDarwin && enableStatic;
outputsToInstall = [ "out" ] ++ optional enableDocumentation "man";
mainProgram = "nix";
knownVulnerabilities = lib.optional (!builtins.elem (lib.versions.majorMinor version) unaffectedByFodSandboxEscape && !atLeast221) "CVE-2024-27297";