guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 135a7dafa76a9a4823dc3c6f822261cd815d8a48
Author: moksh <[email protected]>
AuthorDate: Tue Feb 24 04:20:04 2026 +0530
gnu: oils-for-unix: Update to 0.37.0.
* gnu/packages/shells.scm (oils-for-unix): Update to 0.37.0.
[source]: Change from oilshell.org to oils.pub.
[arguments]<phases>{check}: Use `-cxx-for-configure` flag.
[home-page]: Change Url.
(oils): Deprecate in favor of oils-for-unix.
(oil): Deprecate in favor of oils-for-unix.
Fixes: https://codeberg.org/guix/guix/pulls/6658
Change-Id: I9e8f123392a2edffa1007c9a38fe5db2d81295dd
---
gnu/packages/shells.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index d4635fe558..9f628b069c 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2024 Vinicius Monego <[email protected]>
;;; Copyright © 2024 Luís Henriques <[email protected]>
;;; Copyright © 2024 Giacomo Leidi <[email protected]>
+;;; Copyright © 2026 Untrusem <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -984,24 +985,23 @@ Shell (pdksh).")
(define-public oils-for-unix
(package
(name "oils-for-unix")
- (version "0.22.0")
+ (version "0.37.0")
(source
(origin
(method url-fetch)
- (uri (string-append "https://www.oilshell.org/download/oils-for-unix-"
+ (uri (string-append "https://oils.pub/download/oils-for-unix-"
version ".tar.gz"))
(sha256
- (base32 "0pylgbxbnp683g51lcbmmd0y149jm7q7vh8g67yviagsa7clmmks"))))
+ (base32 "001hfkb6crmmziqvqraxjva0hnzjxn11y8xsskxvqgajl0h1vm7l"))))
(build-system gnu-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
- (setenv "CC" #$(cc-for-target))
- (substitute* "configure"
- ((" cc ") " $CC "))
- (invoke "./configure" (string-append "--prefix=" #$output)
+ (invoke "./configure"
+ (string-append "--cxx-for-configure="
#$(cc-for-target))
+ (string-append "--prefix=" #$output)
"--with-readline")))
(replace 'build
(lambda _
@@ -1013,7 +1013,7 @@ Shell (pdksh).")
(replace 'check
;; The tests are not distributed in the tarballs but upstream
;; recommends running this smoke test.
- ;;
https://github.com/oilshell/oil/blob/release/0.22.0/INSTALL.txt#L30-L50
+ ;;
https://oils.pub/release/latest/doc/INSTALL.html#:~:text=Smoke%20Test
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(let ((osh "_bin/cxx-opt-sh/osh")
@@ -1025,7 +1025,7 @@ Shell (pdksh).")
"json write ({x: 42})"))))))))
(inputs
(list readline))
- (home-page "https://www.oilshell.org")
+ (home-page "https://oils.pub")
(synopsis "Programming language and Bash-compatible Unix shell")
(description "Oils is a programming language with automatic translation for
Bash. It includes OSH, a Unix/POSIX shell that runs unmodified Bash