[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: gnuzilla: Use 'assume-valid-file-name' where appropriate.
From: |
guix-commits |
Subject: |
10/10: gnu: gnuzilla: Use 'assume-valid-file-name' where appropriate. |
Date: |
Fri, 16 Oct 2020 09:03:24 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 27913a6d3862a858269ada931f51e0ba03912e8c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 16 14:59:28 2020 +0200
gnu: gnuzilla: Use 'assume-valid-file-name' where appropriate.
This avoids spurious 'local-file' warnings when running "make".
* gnu/packages/gnuzilla.scm (icecat-source): Wrap 'search-patch' calls
in 'assume-valid-file-name'.
---
gnu/packages/gnuzilla.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index af436a1..4dbe864 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès
<ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver
<mhw@netris.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
@@ -591,10 +591,14 @@ from forcing GEXP-PROMISE."
(base32
"0266gp8vs4avlfdnr8dj7b47msxv1vkd0xpnifp04v4scvgj0yaj"))))
+ ;; 'search-patch' returns either a valid file name or #f, so wrap it
+ ;; in 'assume-valid-file-name' to avoid 'local-file' warnings.
(gnuzilla-fixes-patch
- (local-file (search-patch
"icecat-use-older-reveal-hidden-html.patch")))
+ (local-file (assume-valid-file-name
+ (search-patch
"icecat-use-older-reveal-hidden-html.patch"))))
(makeicecat-patch
- (local-file (search-patch "icecat-makeicecat.patch"))))
+ (local-file (assume-valid-file-name
+ (search-patch "icecat-makeicecat.patch")))))
(origin
(method computed-origin-method)
- branch master updated (83fc59b -> 27913a6), guix-commits, 2020/10/16
- 01/10: nls: Update., guix-commits, 2020/10/16
- 04/10: guix-install.sh: Check the service 'nscd' and suggest it., guix-commits, 2020/10/16
- 05/10: .guix-authorizations: Add m1gu3l., guix-commits, 2020/10/16
- 06/10: gnu: julia: Update to 1.5.2., guix-commits, 2020/10/16
- 03/10: guix-install.sh: Add symbolic links for supported shell completions., guix-commits, 2020/10/16
- 07/10: gnu: runc, skopeo, docker-cli, umoci: Don't 'chdir' in build phases., guix-commits, 2020/10/16
- 10/10: gnu: gnuzilla: Use 'assume-valid-file-name' where appropriate.,
guix-commits <=
- 08/10: gexp: Add 'assume-valid-file-name' syntax for use with 'local-file'., guix-commits, 2020/10/16
- 09/10: services: provenance: Wrap config file name in 'assume-valid-file-name'., guix-commits, 2020/10/16
- 02/10: nls: Update manual translations., guix-commits, 2020/10/16