pub-solar-os/overlays/retroarchBare.nix

24 lines
551 B
Nix
Raw Normal View History

2020-12-06 01:11:29 +00:00
let version = "1.9.0";
2020-07-31 04:17:28 +00:00
in
final: prev: {
retroarchBare = prev.retroarchBare.overrideAttrs (o: {
inherit version;
src = prev.fetchFromGitHub {
owner = "libretro";
repo = "RetroArch";
2020-12-06 01:11:29 +00:00
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
rev = "v${version}";
};
2021-01-03 07:02:28 +00:00
# fix darwin builds
nativeBuildInputs =
if ! prev.stdenv.isLinux then
prev.lib.filter
(drv: ! prev.lib.hasPrefix "wayland" drv.name)
o.nativeBuildInputs
else
o.nativeBuildInputs;
});
}