mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
24 lines
551 B
Nix
24 lines
551 B
Nix
let version = "1.9.0";
|
|
in
|
|
final: prev: {
|
|
retroarchBare = prev.retroarchBare.overrideAttrs (o: {
|
|
inherit version;
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "libretro";
|
|
repo = "RetroArch";
|
|
hash = "sha256-dzPOuT+v1JtYzvAtqZ/eVWQSYQLAWX3TyS3jXdBmDdg=";
|
|
rev = "v${version}";
|
|
};
|
|
|
|
# fix darwin builds
|
|
nativeBuildInputs =
|
|
if ! prev.stdenv.isLinux then
|
|
prev.lib.filter
|
|
(drv: ! prev.lib.hasPrefix "wayland" drv.name)
|
|
o.nativeBuildInputs
|
|
else
|
|
o.nativeBuildInputs;
|
|
});
|
|
}
|