[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/20: gnu: oil: Use G-expressions.
From: |
guix-commits |
Subject: |
20/20: gnu: oil: Use G-expressions. |
Date: |
Mon, 17 Jan 2022 03:16:36 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 487613deea9ccad60142a9494d43f5ec97089934
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jan 16 01:00:00 2022 +0100
gnu: oil: Use G-expressions.
* gnu/packages/shells.scm (oil)[arguments]:
Rewrite as G-expressions.
---
gnu/packages/shells.scm | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index a0c74ff286..52f675ea1d 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -838,26 +838,25 @@ Shell (pdksh).")
(base32 "01lmj4diqpla1gwwb1gh1shf4y74qhanpkzcsnb28458rxm1sq32"))))
(build-system gnu-build-system)
(arguments
- `(#:strip-binaries? #f ; strip breaks the binary
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "CC" ,(cc-for-target))
- (substitute* "configure"
- ((" cc ") " $CC "))
- (invoke "./configure" (string-append "--prefix=" out)
- "--with-readline"))))
- (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.8.0/INSTALL.txt#L38-L48
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (let* ((oil "_bin/oil.ovm"))
- (invoke/quiet oil "osh" "-c" "echo hi")
- (invoke/quiet oil "osh" "-n" "configure"))))))))
+ (list #:strip-binaries? #f ; strip breaks the binary
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (setenv "CC" #$(cc-for-target))
+ (substitute* "configure"
+ ((" cc ") " $CC "))
+ (invoke "./configure" (string-append "--prefix=" #$output)
+ "--with-readline")))
+ (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.8.0/INSTALL.txt#L38-L48
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (let* ((oil "_bin/oil.ovm"))
+ (invoke/quiet oil "osh" "-c" "echo hi")
+ (invoke/quiet oil "osh" "-n" "configure"))))))))
(inputs
(list readline))
(home-page "https://www.oilshell.org")
- branch master updated (4acf325150 -> 487613deea), guix-commits, 2022/01/17
- 01/20: gnu: mtr: Update to 0.95., guix-commits, 2022/01/17
- 05/20: gnu: eog-plugins: Update to 3.26.8., guix-commits, 2022/01/17
- 02/20: gnu: memcached: Update to 1.6.13., guix-commits, 2022/01/17
- 07/20: gnu: synthv1: Update to 0.9.24., guix-commits, 2022/01/17
- 10/20: gnu: padthv1: Update to 0.9.24., guix-commits, 2022/01/17
- 15/20: gnu: lxc: Update to 4.0.11., guix-commits, 2022/01/17
- 19/20: gnu: oil: Update to 0.9.6., guix-commits, 2022/01/17
- 16/20: gnu: lxcfs: Update to 4.0.11., guix-commits, 2022/01/17
- 20/20: gnu: oil: Use G-expressions.,
guix-commits <=
- 03/20: gnu: nvme-cli: Update to 1.16., guix-commits, 2022/01/17
- 06/20: gnu: amsynth: Update to 1.12.4., guix-commits, 2022/01/17
- 04/20: gnu: nvme-cli: Use G-expressions., guix-commits, 2022/01/17
- 08/20: gnu: drumkv1: Update to 0.9.24., guix-commits, 2022/01/17
- 11/20: gnu: qtractor: Update to 0.9.25., guix-commits, 2022/01/17
- 12/20: gnu: janet: Update to 1.19.2., guix-commits, 2022/01/17
- 17/20: gnu: lxd: Update to 4.22., guix-commits, 2022/01/17
- 14/20: gnu: protozero: Update to 1.7.1., guix-commits, 2022/01/17
- 09/20: gnu: samplv1: Update to 0.9.24., guix-commits, 2022/01/17
- 13/20: gnu: janet: Use G-expressions., guix-commits, 2022/01/17