mednaffe: Enable for Darwin, fix wrapping
This commit is contained in:
parent
3e3cb9b7c9
commit
6f7d5cebf2
|
@ -20,11 +20,15 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ gtk3 mednafen ];
|
buildInputs = [ gtk3 mednafen ];
|
||||||
|
|
||||||
postInstall = ''
|
enableParallelBuilding = true;
|
||||||
wrapProgram $out/bin/mednaffe \
|
|
||||||
|
preFixup = ''
|
||||||
|
gappsWrapperArgs+=(
|
||||||
--prefix PATH ':' "${mednafen}/bin"
|
--prefix PATH ':' "${mednafen}/bin"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -32,6 +36,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/AmatCoder/mednaffe";
|
homepage = "https://github.com/AmatCoder/mednaffe";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ sheenobu yana AndersonTorres ];
|
maintainers = with maintainers; [ sheenobu yana AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue