about summary refs log tree commit diff
path: root/pkgs/games
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 /pkgs/games
parentd2d94ba2989802347d0c0fd6f639d4673ab9292e (diff)
parentbcfe4b400928cc07d4da97a9d705d6ee80dc00a0 (diff)
Merge pull request #198115 from trofi/fheroes2-use-gitUpdate
fheroes2: switch to gitUpdater to avoid non-version tags
Diffstat (limited to 'pkgs/games')
-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 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";
     };
   };