yabai: modernize
This commit is contained in:
parent
b2607dee16
commit
550d4a2af4
@ -20,11 +20,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
finalAttrs.passthru.sources.${stdenv.hostPlatform.system}
|
finalAttrs.passthru.sources.${stdenv.hostPlatform.system}
|
||||||
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
env = {
|
|
||||||
# silence service.h error
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ installShellFiles ]
|
[ installShellFiles ]
|
||||||
++ lib.optionals stdenv.hostPlatform.isx86_64 [
|
++ lib.optionals stdenv.hostPlatform.isx86_64 [
|
||||||
@ -58,8 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# Since multilib doesn't work on darwin i dont know of a better way of handling this.
|
# Since multilib doesn't work on darwin i dont know of a better way of handling this.
|
||||||
substituteInPlace makefile \
|
substituteInPlace makefile \
|
||||||
--replace-fail "-arch arm64e" "" \
|
--replace-fail "-arch arm64e" "" \
|
||||||
--replace-fail "-arch arm64" "" \
|
--replace-fail "-arch arm64" ""
|
||||||
--replace-fail "clang" "${stdenv.cc.targetPrefix}clang"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
|
Loading…
Reference in New Issue
Block a user