lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

minetest: fix build on darwin

authored by

Weijia Wang and committed by
Franz Pletz
50d21e56 f0e9e476

+3 -3
+3 -3
pkgs/games/minetest/default.nix
··· 105 105 106 106 postPatch = '' 107 107 substituteInPlace src/filesys.cpp --replace "/bin/rm" "${coreutils}/bin/rm" 108 + '' + lib.optionalString stdenv.isDarwin '' 109 + sed -i '/pagezero_size/d;/fixup_bundle/d' src/CMakeLists.txt 108 110 ''; 109 111 110 - postInstall = '' 112 + postInstall = lib.optionalString stdenv.isLinux '' 111 113 mkdir -pv $out/share/minetest/games/minetest_game/ 112 114 cp -rv ${sources.data}/* $out/share/minetest/games/minetest_game/ 113 115 patchShebangs $out ··· 119 121 license = licenses.lgpl21Plus; 120 122 platforms = platforms.linux ++ platforms.darwin; 121 123 maintainers = with maintainers; [ pyrolagus fpletz fgaz ]; 122 - # https://github.com/NixOS/nixpkgs/pull/186160#issuecomment-1212635918 123 - broken = stdenv.isDarwin; 124 124 }; 125 125 }; 126 126