Skip to content

Commit 550d4a2

Browse files
committed
yabai: modernize
1 parent b2607de commit 550d4a2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pkgs/by-name/ya/yabai/package.nix

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ stdenv.mkDerivation (finalAttrs: {
2020
finalAttrs.passthru.sources.${stdenv.hostPlatform.system}
2121
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
2222

23-
env = {
24-
# silence service.h error
25-
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
26-
};
27-
2823
nativeBuildInputs =
2924
[ installShellFiles ]
3025
++ lib.optionals stdenv.hostPlatform.isx86_64 [
@@ -58,8 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
5853
# Since multilib doesn't work on darwin i dont know of a better way of handling this.
5954
substituteInPlace makefile \
6055
--replace-fail "-arch arm64e" "" \
61-
--replace-fail "-arch arm64" "" \
62-
--replace-fail "clang" "${stdenv.cc.targetPrefix}clang"
56+
--replace-fail "-arch arm64" ""
6357
'';
6458

6559
nativeInstallCheckInputs = [ versionCheckHook ];

0 commit comments

Comments
 (0)