sketchybar: fix darwin build (#541571)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user