Subject: [PATCH] gnu: loko-scheme: Update to 0.12.1.
From: Ashish SHUKLA <[email-masked]>
To: [email-masked]
Cc: Ashish SHUKLA <[email-masked]>
Date: Mon, 6 Jan 2025 22:01:13 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/loko.scm (loko-scheme): Update to 0.12.1.
[arguments]<#:phases>: Update phase "akku-fixes".

Change-Id: I5dd07a8cc1f0db336c56e4271eecbfdc61f1038f
---
Hi,

The substitution in "scheme-wrapper" switches to the POSIX built-in "command" from "which".

Thanks! 

 gnu/packages/loko.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/loko.scm b/gnu/packages/loko.scm
index 003fbe416a..f76bd94d41 100644
--- a/gnu/packages/loko.scm
+++ b/gnu/packages/loko.scm
@@ -30,7 +30,7 @@ (define-module (gnu packages loko)
 (define-public loko-scheme
   (package
     (name "loko-scheme")
-    (version "0.12.0")
+    (version "0.12.1")
     (source
      (origin
        (method git-fetch)
@@ -38,7 +38,7 @@ (define-public loko-scheme
              (url "https://gitlab.com/weinholt/loko")
              (commit (string-append "v" version))))
        (sha256
-        (base32 "12xp82z91qkp9q8lfp46s4sda8qgs472jic3js1kbykn4jzy7399"))
+        (base32 "127cbrnpmanzd2daxd6vwdq09sqfvbm9ialpjaxd46n5j97fl5g9"))
        (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
@@ -71,6 +71,9 @@ (define-public loko-scheme
                        #$(this-package-native-input "guile-machine-code"))))
               (substitute* ".akku/env"
                 (("/bin/sh") (which "sh")))
+              (substitute* "scheme-wrapper"
+                (("which ")
+                 "command -v "))
               #t)))))
     (native-inputs
      (list akku

base-commit: ee3673217b82d50e97434ae85145b8d68f077446
-- 
2.47.1