devos/overlays/retroarchBare.nix

24 lines
551 B
Nix
Raw Normal View History

2020-12-06 02:11:29 +01:00
let version = "1.9.0";
2020-07-31 06:17:28 +02:00
in
final: prev: {
retroarchBare = prev.retroarchBare.overrideAttrs (o: {
inherit version;
src = prev.fetchFromGitHub {
owner = "libretro";
repo = "RetroArch";
2020-12-06 02:11:29 +01:00
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
rev = "v${version}";
};
2021-01-03 08:02:28 +01: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;
});
}