@@ -36,14 +36,14 @@ stdenv.mkDerivation rec {
3636 installPhase = ''
3737 mkdir -p $out/bin $out/lib $dev/include
3838 mv bin/dxc* $out/bin/
39− mv lib/libdxcompiler.so* $out/lib/
39+ mv lib/libdxcompiler.so* lib/libdxcompiler.*dylib $out/lib/
4040 cp -r $src/include/dxc $dev/include/
4141 '';
4242
4343 meta = with stdenv.lib; {
4444 description = "A compiler to compile HLSL programs into DXIL and SPIR-V";
4545 homepage = "https://github.com/microsoft/DirectXShaderCompiler";
46− platforms = platforms.linux;
46+ platforms = with platforms; linux ++ darwin;
4747 license = licenses.ncsa;
4848 maintainers = with maintainers; [ expipiplus1 ];
4949 };