[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: ungoogled-chromium: Use 'search-auxiliary-file'.

From: guix-commits
Subject: 01/03: gnu: ungoogled-chromium: Use 'search-auxiliary-file'.
Date: Fri, 11 Feb 2022 17:53:02 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit c334b7c52fe77b68a90b23fbac5c9de7337e607b
Author: Ludovic Court├Ęs <>
AuthorDate: Fri Feb 11 23:14:09 2022 +0100

    gnu: ungoogled-chromium: Use 'search-auxiliary-file'.
    Fixes a regression introduced in
    076e825dc5d585943ce820a279fffe4af09757fb whereby "guix build
    ungoogled-chromium" would fail with:
      canonicalize-path: No such file or directory: 
    * gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Use
    'search-auxiliary-file' for "master-preferences.json".  For some reason,
    on Guile 3.0.8, 'local-file' would have its (current-source-directory)
    expand to #f.
 gnu/packages/chromium.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 6ecdea41c4..c647381d6c 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -757,7 +757,9 @@
                      (resources      (string-append lib "/resources"))
                       ;; This file contains defaults for new user profiles.
-                      #$(local-file 
+                      #$(local-file
+                         (search-auxiliary-file
+                          "chromium/master-preferences.json")))
                      (gtk+           (assoc-ref inputs "gtk+"))
                      (xdg-utils      (assoc-ref inputs "xdg-utils")))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]