about summary refs log tree commit diff
path: root/pkgs/games/freeciv
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/freeciv')
-rw-r--r--pkgs/games/freeciv/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix
index b83b37f66aaab..89d38d941e964 100644
--- a/pkgs/games/freeciv/default.nix
+++ b/pkgs/games/freeciv/default.nix
@@ -10,13 +10,13 @@
 
 stdenv.mkDerivation rec {
   pname = "freeciv";
-  version = "3.0.4";
+  version = "3.0.8";
 
   src = fetchFromGitHub {
     owner = "freeciv";
     repo = "freeciv";
     rev = "R${lib.replaceStrings [ "." ] [ "_" ] version}";
-    sha256 = "sha256-hhX+aM/NHdqOM0qSKSJyW2FAWTsyAHrjaNhxtP2vbVA=";
+    hash = "sha256-6DWVou4d1oAOlhHb2A2vxR4Fy+1q7Xz9w9VK9rEzZxA=";
   };
 
   postPatch = ''
@@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
       substituteInPlace $f \
         --replace '/usr/bin/env python3' ${python3.interpreter}
     done
+    for f in bootstrap/*.sh; do
+      patchShebangs $f
+    done
   '';
 
   nativeBuildInputs = [ autoreconfHook pkg-config ]