guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: network-manager: Fix build.


From: guix-commits
Subject: 02/08: gnu: network-manager: Fix build.
Date: Sun, 24 Nov 2024 04:10:20 -0500 (EST)

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

commit 26a8913d2a56a9afad21c82689c27d9b7947f9f4
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
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 53f0a60481..6575f87715 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8561,7 +8561,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

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