mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
xjadeo: fix build on darwin (#542031)
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user