summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-10-28 14:24:53 +0100
committerGitHub <noreply@github.com>2022-10-28 14:24:53 +0100
commit38164d1660dcc24b41a5a22f1e9ef075a8e26714 (patch)
tree3da56e76a396f72efd12f489d493075cdab2261b
parentMerge pull request #198214 from r-ryantm/auto-update/cargo-nextest (diff)
parentfheroes2: switch to gitUpdater to avoid non-version tags (diff)
downloadnixpkgs-38164d1660dcc24b41a5a22f1e9ef075a8e26714.tar.gz
Merge pull request #198115 from trofi/fheroes2-use-gitUpdate
fheroes2: switch to gitUpdater to avoid non-version tags
-rw-r--r--pkgs/games/fheroes2/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix
index 5f3bb86d51d7..628ebcb28ab2 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";
};
};