From d88234034d71f53d477a66644345ae9a12d28168 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 15 Oct 2022 19:02:57 +0100 Subject: [PATCH] libyuv: fix & enable for darwin --- pkgs/development/libraries/libyuv/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libyuv/default.nix b/pkgs/development/libraries/libyuv/default.nix index ac69ab8dacc0..d0d692ed9815 100644 --- a/pkgs/development/libraries/libyuv/default.nix +++ b/pkgs/development/libraries/libyuv/default.nix @@ -24,10 +24,12 @@ stdenv.mkDerivation rec { buildInputs = [ libjpeg ]; + NIX_CFLAGS_LINK = lib.optional stdenv.isDarwin "-ljpeg"; + meta = with lib; { homepage = "https://chromium.googlesource.com/libyuv/libyuv"; description = "Open source project that includes YUV scaling and conversion functionality"; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ leixb ]; license = licenses.bsd3; };