xjadeo: fix build on darwin (#542031)

This commit is contained in:
Vladimír Čunát
2026-07-19 04:47:55 +00:00
committed by GitHub

View File

@@ -10,6 +10,7 @@
liblo,
libx11,
libxv,
llvmPackages,
pkg-config,
portmidi,
libxpm,
@@ -30,7 +31,9 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
autoreconfHook
pkg-config
];
]
# TODO: Remove once #536365 reaches this branch
++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.lld;
buildInputs = [
ffmpeg
@@ -52,6 +55,11 @@ stdenv.mkDerivation (finalAttrs: {
libxv
];
# TODO: Remove once #536365 reaches this branch
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_CFLAGS_LINK = "-fuse-ld=lld";
};
meta = {
description = "X Jack Video Monitor";
longDescription = ''