git.iko.soy/typeable/nixpkgs
on master help sign in
directx-shader-compiler: Add Darwin support
commitbe8a89e7845f4597f5a9c1d4ac23079b96719ab4 authorJoe Hermaszewski <git@monoid.al> dateFri 20 Nov 2020, 16:24 (6 years ago) parent6ea2fd1
1 file changed+2−2
pkgs/tools/graphics/directx-shader-compiler/default.nix+2−2
pkgs/tools/graphics/directx-shader-compiler/default.nix+2−2
@@ -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 };