mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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'.
This commit is contained in:
parent
5dbfdf8be4
commit
27913a6d38
1 changed files with 7 additions and 3 deletions
|
@ -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 @@ (define icecat-source
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue