3
0
Fork 0
forked from mirrors/nixpkgs

minetest: put the app in $out/Applications/ to let it appear in /Applications/

This commit is contained in:
freezeboy 2022-11-26 15:00:14 +01:00
parent 16ae6d6136
commit 8a892ef883

View file

@ -113,6 +113,9 @@ let
mkdir -pv $out/share/minetest/games/minetest_game/
cp -rv ${sources.data}/* $out/share/minetest/games/minetest_game/
patchShebangs $out
'' + lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
mv $out/minetest.app $out/Applications
'';
meta = with lib; {