summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-05 16:15:22 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-05 16:15:22 +0100
commita5945a60cf7e0899447cabedf4ea5aff8ee8dff8 (patch)
tree7faa60d24206b842c8b827b39f0caf39814efd80
parenta4e7749e91c5ed9b96117e3bcda8802e8744841e (diff)
downloadguix-a5945a60cf7e0899447cabedf4ea5aff8ee8dff8.tar.gz
gnu: chromium: Silent 'local-file' warning.
This is a followup to fddc87063231f8f9aa22bbbc5bca4a46b9bbf004.

* gnu/packages/chromium.scm (%guix-patches): Use 'assume-valid-file-name'.
-rw-r--r--gnu/packages/chromium.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 5c7bb12def..902f2a723c 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -335,8 +335,12 @@
       "0visyhz321ykrmbjndvx31yd8xlmha9gas0xbkavc2i45rpfahjq"))))
 
 (define %guix-patches
-  (list (local-file (search-patch "ungoogled-chromium-system-nspr.patch"))
-        (local-file (search-patch "ungoogled-chromium-extension-search-path.patch"))))
+  (list (local-file
+         (assume-valid-file-name
+          (search-patch "ungoogled-chromium-system-nspr.patch")))
+        (local-file
+         (assume-valid-file-name
+          (search-patch "ungoogled-chromium-extension-search-path.patch")))))
 
 ;; This is a source 'snippet' that does the following:
 ;; *) Applies various patches for unbundling purposes and libstdc++ compatibility.