diff options
author | Matt Christ <matt@christ.systems> | 2021-11-13 09:06:44 -0600 |
---|---|---|
committer | Matt Christ <matt@christ.systems> | 2021-11-13 09:06:44 -0600 |
commit | ec27b2445230d6556b1961850c5e09c48f0f690b (patch) | |
tree | 63dc7afa1cadf04c2d56a6edebafa5839f74f4f0 /pkgs/misc | |
parent | 281479cb07c394906a573451e259cfa054ba0bf8 (diff) |
libretro: mkLibRetroCore: allow specifying custom version
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/emulators/retroarch/cores.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index bddabede0a076..455ac5219ae8f 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -8,11 +8,11 @@ let d2u = lib.replaceChars ["-"] ["_"]; - mkLibRetroCore = { core, src, description, license, broken ? false, ... }@a: + mkLibRetroCore = { core, src, description, license, broken ? false, version ? "2020-03-06", ... }@a: lib.makeOverridable stdenv.mkDerivation ((rec { name = "libretro-${a.core}-${version}"; - version = "2020-03-06"; + inherit version; inherit (a) src; buildInputs = [ zlib ] ++ a.extraBuildInputs or []; |