Unverified Commit 9a2d7605 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #241876 from wegank/osl-darwin

osl: add darwin support
parents 1f98c279 6d1b8e5a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
, cmake
, clang
, libclang
, libxml2
, zlib
, openexr
, openimageio
@@ -67,6 +68,8 @@ in stdenv.mkDerivation rec {
    python3.pkgs.pybind11
    util-linux # needed just for hexdump
    zlib
  ] ++ lib.optionals stdenv.isDarwin [
    libxml2
  ];

  postFixup = ''
@@ -79,6 +82,6 @@ in stdenv.mkDerivation rec {
    homepage = "https://opensource.imageworks.com/osl.html";
    maintainers = with maintainers; [ hodapp ];
    license = licenses.bsd3;
    platforms = platforms.linux;
    platforms = platforms.unix;
  };
}