directx-shader-compiler: Add Darwin support
This commit is contained in:
parent
6ea2fd15d8
commit
be8a89e784
1 changed files with 2 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue