lilyp pushed a commit to branch gnome-team
in repository guix.

commit 8b6c57d1cbfb0a35ea467f60ffabc825601a1660
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sat Nov 23 18:35:44 2024 +0100

    gnu: network-manager: Fix build.
    
    * gnu/packages/gnome.scm (network-manager)[#:phases]<pre-configure>: Also
    preconfigure environment variables.
---
 gnu/packages/gnome.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 698b471fac..2387f74c67 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8562,7 +8562,11 @@ users.")
                 ((".*test-link-linux.*") "")
                 ((".*test-lldp.*") "")
                 ((".*test-route-linux.*") "")
-                ((".*test-tc-linux.*") ""))))
+                ((".*test-tc-linux.*") ""))
+              (substitute* "src/libnm-client-impl/meson.build"
+                ;; Note: printenv results in bogus newline, that isn't stripped
+                (("run_command\\('printenv', '([^']*)',[^\n]*" all var)
+                 (string-append "'" (or (getenv var) "") "'")))))
           (add-before 'check 'pre-check
             (lambda _
               ;; For the missing /etc/machine-id.

Reply via email to