diff options
author | OPNA2608 <christoph.neidahl@gmail.com> | 2022-02-22 22:06:48 +0100 |
---|---|---|
committer | OPNA2608 <christoph.neidahl@gmail.com> | 2022-02-22 22:06:48 +0100 |
commit | 6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c (patch) | |
tree | 120ccc457b92927232411db9f50ece5eed9cefe5 /pkgs/applications | |
parent | 3e3cb9b7c98854bb3c8a88179bfa972753978a3c (diff) | |
download | nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar.gz nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar.bz2 nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar.lz nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar.xz nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.tar.zst nixlib-6f7d5cebf2d4217ffc12f2d326c2d5785390ae4c.zip |
mednaffe: Enable for Darwin, fix wrapping
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/emulators/mednaffe/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/emulators/mednaffe/default.nix b/pkgs/applications/emulators/mednaffe/default.nix index 4874d5efee7a..32bb06b27042 100644 --- a/pkgs/applications/emulators/mednaffe/default.nix +++ b/pkgs/applications/emulators/mednaffe/default.nix @@ -20,11 +20,15 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; + buildInputs = [ gtk3 mednafen ]; - postInstall = '' - wrapProgram $out/bin/mednaffe \ + enableParallelBuilding = true; + + preFixup = '' + gappsWrapperArgs+=( --prefix PATH ':' "${mednafen}/bin" + ) ''; meta = with lib; { @@ -32,6 +36,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/AmatCoder/mednaffe"; license = licenses.gpl3Plus; maintainers = with maintainers; [ sheenobu yana AndersonTorres ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } |