Subject: [bug#79099] [PATCH 34/34] gnu: ufoai: Use git-file-name.

From: Nicolas Graves <[email-masked]>
Date: Sat, 26 Jul 2025 04:39:40 +0200

find gnu/packages/ -type f -name "*.scm" -exec sed -i 's/(git-version "/(make-git-version "/g' {} +

This find requires a little more caution, that's why it's separated
from the other commit.
---
 gnu/packages/games.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f43c85bc789..7245767565d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3482,14 +3482,14 @@ (define-public tetzle
 
 (define %ufoai-commit "a542a87a891f96b1ab2c44d35b2f6f16859a5019")
 (define %ufoai-revision "0")
-(define %ufoai-version (git-version "2.6.0_dev" %ufoai-revision %ufoai-commit))
+(define %ufoai-version (make-git-version "2.6.0_dev" %ufoai-revision %ufoai-commit))
 (define ufoai-source
   (origin
     (method git-fetch)
     (uri (git-reference
           (url "git://git.code.sf.net/p/ufoai/code") ;HTTPS fails mid-clone
           (commit %ufoai-commit)))
-    (file-name (string-append "ufoai-" %ufoai-version "-checkout"))
+    (file-name (git-file-name "ufoai" %ufoai-version))
     (sha256
      (base32
       "024s7b9rcg7iw8i2p72gwnvabk23ljlq0nldws0y4b6hpwzyn1wz"))
-- 
2.50.1