[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/25: gnu: varnish: Remove input labels.
From: |
guix-commits |
Subject: |
25/25: gnu: varnish: Remove input labels. |
Date: |
Tue, 11 Jan 2022 12:41:21 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 993bc8f06cc0662632618e49f6940d5036479c8b
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jan 11 18:12:42 2022 +0100
gnu: varnish: Remove input labels.
* gnu/packages/web.scm (varnish)[arguments]: Don't look up inputs by key.
[native-inputs]: Remove labels.
---
gnu/packages/web.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3e6453b874..3ddecb15c4 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2016–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
-;;; Copyright © 2017, 2018, 2020, 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2017, 2018, 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2017, 2021 Pierre Langlois <pierre.langlois@gmx.com>
@@ -5859,17 +5859,16 @@ deployments.")
(string-append "CC=" ,(cc-for-target))
;; Use absolute path of GCC so it's found at
runtime.
(string-append "PTHREAD_CC="
- (assoc-ref %build-inputs "gcc")
- "/bin/gcc")
+ (search-input-file %build-inputs
+ "/bin/gcc"))
"--localstatedir=/var")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'use-absolute-file-names
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((bash (assoc-ref inputs "bash-minimal"))
- (sh (string-append bash "/bin/sh"))
- (coreutils (assoc-ref inputs "coreutils"))
- (rm (string-append coreutils "/bin/rm")))
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let* ((inpts (or native-inputs inputs))
+ (sh (search-input-file inpts "/bin/sh"))
+ (rm (search-input-file inpts "/bin/rm")))
(substitute* '("bin/varnishtest/vtc_varnish.c"
"bin/varnishtest/vtc_process.c"
"bin/varnishtest/vtc_haproxy.c"
@@ -5899,9 +5898,7 @@ deployments.")
;; Make sure 'crti.o' et.al is found.
`("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python-sphinx" ,python-sphinx)
- ("rst2man" ,python-docutils)))
+ (list pkg-config python-sphinx python-docutils))
(inputs
(list bash-minimal
coreutils
- 05/25: gnu: python-xattr: Update to 0.9.9., (continued)
- 05/25: gnu: python-xattr: Update to 0.9.9., guix-commits, 2022/01/11
- 01/25: gnu: python-sqlparse: Update to 0.4.2 [fixes CVE-2021-32839]., guix-commits, 2022/01/11
- 06/25: gnu: python-cmd2: Update to 2.3.3., guix-commits, 2022/01/11
- 04/25: gnu: node: Simplify inputs., guix-commits, 2022/01/11
- 07/25: gnu: python-os-testr: Update to 2.0.1., guix-commits, 2022/01/11
- 09/25: gnu: poetry: Use python-msgpack., guix-commits, 2022/01/11
- 02/25: gnu: python-sqlparse: Specify CPE name., guix-commits, 2022/01/11
- 10/25: gnu: python-oslo.i18n: Disable tests., guix-commits, 2022/01/11
- 14/25: gnu: authenticator: Fix build., guix-commits, 2022/01/11
- 22/25: gnu: QEMU: Update to 6.2.0., guix-commits, 2022/01/11
- 25/25: gnu: varnish: Remove input labels.,
guix-commits <=
- 08/25: gnu: python-pifpaf: Update to 3.1.5., guix-commits, 2022/01/11
- 11/25: gnu: pantalaimon: Disable sanity check., guix-commits, 2022/01/11
- 12/25: gnu: python-pyperclip: Update to 1.8.2., guix-commits, 2022/01/11
- 15/25: gnu: authenticator: Remove input labels., guix-commits, 2022/01/11
- 03/25: gnu: node: Disable flaky test., guix-commits, 2022/01/11
- 13/25: gnu: mycli: Placate sanity check., guix-commits, 2022/01/11
- 16/25: gnu: python-dictdiffer: Disable tests., guix-commits, 2022/01/11
- 20/25: gnu: python-pywavelets: Update to 1.2.0., guix-commits, 2022/01/11
- 19/25: gnu: python-scikit-rebate: Update to 0.62., guix-commits, 2022/01/11
- 24/25: gnu: speech-dispatcher: Update to 0.11.1., guix-commits, 2022/01/11