summaryrefslogtreecommitdiff
path: root/gnu/packages/shells.scm
diff options
context:
space:
mode:
authormoksh <mysticmoksh@riseup.net>2026-02-24 04:20:04 +0530
committerGiacomo Leidi <therewasa@fishinthecalculator.me>2026-03-02 13:44:24 +0100
commit135a7dafa76a9a4823dc3c6f822261cd815d8a48 (patch)
tree8ed3f03f40a12aa697196da8a69202ed5304cbf6 /gnu/packages/shells.scm
parent7358fa92623fee676798b87dc5bf209fa3cb685b (diff)
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
Diffstat (limited to 'gnu/packages/shells.scm')
-rw-r--r--gnu/packages/shells.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index d4635fe558e..9f628b069ca 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 Luís Henriques <henrix@camandro.org>
;;; Copyright © 2024 Giacomo Leidi <therewasa@fishinthecalculator.me>
+;;; Copyright © 2026 Untrusem <mysticmoksh@riseup.net>
;;;
;;; 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