mednaffe: Enable for Darwin, fix wrapping

OPNA2608 6f7d5ceb 3e3cb9b7

+7 -3
+7 -3
pkgs/applications/emulators/mednaffe/default.nix
··· 20 20 }; 21 21 22 22 nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; 23 + 23 24 buildInputs = [ gtk3 mednafen ]; 24 25 25 - postInstall = '' 26 - wrapProgram $out/bin/mednaffe \ 26 + enableParallelBuilding = true; 27 + 28 + preFixup = '' 29 + gappsWrapperArgs+=( 27 30 --prefix PATH ':' "${mednafen}/bin" 31 + ) 28 32 ''; 29 33 30 34 meta = with lib; { ··· 32 36 homepage = "https://github.com/AmatCoder/mednaffe"; 33 37 license = licenses.gpl3Plus; 34 38 maintainers = with maintainers; [ sheenobu yana AndersonTorres ]; 35 - platforms = platforms.linux; 39 + platforms = platforms.unix; 36 40 }; 37 41 }