Skip to content

Commit

Permalink
directx-shader-compiler: Add Darwin support
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Dec 20, 2020
1 parent 6ea2fd1 commit be8a89e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/graphics/directx-shader-compiler/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin $out/lib $dev/include
mv bin/dxc* $out/bin/
mv lib/libdxcompiler.so* $out/lib/
mv lib/libdxcompiler.so* lib/libdxcompiler.*dylib $out/lib/
cp -r $src/include/dxc $dev/include/
'';

meta = with stdenv.lib; {
description = "A compiler to compile HLSL programs into DXIL and SPIR-V";
homepage = "https://github.com/microsoft/DirectXShaderCompiler";
platforms = platforms.linux;
platforms = with platforms; linux ++ darwin;
license = licenses.ncsa;
maintainers = with maintainers; [ expipiplus1 ];
};
Expand Down

0 comments on commit be8a89e

Please sign in to comment.