diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-10-27 19:57:34 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-10-27 19:57:34 +0100 |
commit | bcfe4b400928cc07d4da97a9d705d6ee80dc00a0 (patch) | |
tree | ed3e724f083c9bd5d98e539c773503f34ac241c3 /pkgs/games | |
parent | d10e09d6d70b892b906dd040613bed48863b7d02 (diff) |
fheroes2: switch to gitUpdater to avoid non-version tags
`gitUpdater` uses common updater that uses only versioned tags as input. It also supports version ignore ranges if needed. Without the change updater tries to pul in `fheroes-android` non-release: https://github.com/NixOS/nixpkgs/pull/198000
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/fheroes2/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix index 5f3bb86d51d79..628ebcb28ab28 100644 --- a/pkgs/games/fheroes2/default.nix +++ b/pkgs/games/fheroes2/default.nix @@ -1,8 +1,7 @@ { stdenv, lib, fetchFromGitHub , gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib -# updater only -, nix-update-script +, gitUpdater }: stdenv.mkDerivation rec { @@ -43,8 +42,8 @@ stdenv.mkDerivation rec { ''; passthru = { - updateScript = nix-update-script { - attrPath = pname; + updateScript = gitUpdater { + url = "https://github.com/ihhub/fheroes2.git"; }; }; |