yabai: remove Mach-O UUIDs

Darwin ld emits LC_UUID by default. yabai also embeds the
scripting-addition payload and loader binaries into the final
executable, so UUIDs from those intermediate Mach-O files make rebuilds
differ.

Pass -Wl,-no_uuid through the existing clang substitution so the main
binary and embedded OSAX binaries are deterministic.
This commit is contained in:
Austin Horstman
2026-06-07 18:49:25 -05:00
parent 450e4f9116
commit 3e76a1b13e
+1
View File
@@ -65,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
"-isystem ${lib.getDev cups}/include"
"-F$(SDKROOT)/System/Library/Frameworks"
"-L$(SDKROOT)/usr/lib"
"-Wl,-no_uuid"
];
in
''