sketchybar: fix darwin build (#541571)

This commit is contained in:
Austin Horstman
2026-07-13 22:13:56 +00:00
committed by GitHub
+9
View File
@@ -5,6 +5,7 @@
nix-update-script,
apple-sdk_15,
versionCheckHook,
llvmPackages,
}:
let
@@ -28,12 +29,20 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-5tyc/yYzdV/3JTtujuj7le/14XkC7TlN/nZg7tOZsNg=";
};
nativeBuildInputs = [
# TODO: Remove once #536365 reaches this branch
llvmPackages.lld
];
buildInputs = [
apple-sdk_15
];
makeFlags = [ target ];
# TODO: Remove once #536365 reaches this branch
env.NIX_CFLAGS_LINK = "-fuse-ld=lld";
installPhase = ''
runHook preInstall