diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-07-12 17:00:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 17:00:25 +0300 |
commit | 9a2d7605d691bd48af165639d84228a8019c20d2 (patch) | |
tree | bc3abcbefe91f91e80d09dbe549c762439170ab0 | |
parent | 1f98c2794ad4fafc8bffb5e66d1b075da0f947f0 (diff) | |
parent | 6d1b8e5adea572f24733a05d01dfd91a9f953661 (diff) |
Merge pull request #241876 from wegank/osl-darwin
osl: add darwin support
-rw-r--r-- | pkgs/development/compilers/osl/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/osl/default.nix b/pkgs/development/compilers/osl/default.nix index dd993f1cfd57c..090cedb424b99 100644 --- a/pkgs/development/compilers/osl/default.nix +++ b/pkgs/development/compilers/osl/default.nix @@ -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; }; } |