@@ -14,11 +14,16 @@ stdenv.mkDerivation rec {
1414 buildInputs = [ qtbase qtdeclarative ];
1515 nativeBuildInputs = [ texlive cmake ninja ];
1616
17+ installPhase = if stdenv.isDarwin then ''
18+ mkdir -p $out/Applications
19+ cp -r DwarfTherapist.app $out/Applications
20+ '' else null;
21+
1722 meta = with stdenv.lib; {
1823 description = "Tool to manage dwarves in in a running game of Dwarf Fortress";
1924 maintainers = with maintainers; [ the-kenny abbradar bendlas ];
2025 license = licenses.mit;
21− platforms = [ "x86_64-linux" "i686-linux" ];
26+ platforms = platforms.unix;
2227 homepage = https://github.com/Dwarf-Therapist/Dwarf-Therapist;
2328 };
2429}