guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: gnome-session: Do not patch in absolute paths.


From: guix-commits
Subject: 02/02: gnu: gnome-session: Do not patch in absolute paths.
Date: Fri, 19 Jul 2019 13:10:41 -0400 (EDT)

samplet pushed a commit to branch core-updates
in repository guix.

commit 1c9b99234c8322467ca22be70a94aa1678658476
Author: Timothy Sample <address@hidden>
Date:   Fri Jul 19 12:05:58 2019 -0400

    gnu: gnome-session: Do not patch in absolute paths.
    
    This is no longer needed as upstream is now using absolute paths.
    
    * gnu/packages/gnome.scm (gnome-session): Remove phase that patches
    absolute paths into the session desktop entry files.
---
 gnu/packages/gnome.scm | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9190301..3ac5025 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4806,14 +4806,6 @@ such as gzip tarballs.")
                    (out  (assoc-ref outputs "out")))
                (wrap-program (string-append out "/bin/gnome-session")
                  `("PATH" ":" prefix (,(string-append glib "/bin"))))
-               #t)))
-         (add-after 'install 'add-absolute-paths-to-desktop-files
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out")))
-               (substitute* (map (lambda (x)
-                                   (string-append out "/share/xsessions/" x))
-                                 '("gnome.desktop" "gnome-xorg.desktop"))
-                 (("gnome-session") (string-append out "/bin/gnome-session")))
                #t))))
 
        #:configure-flags



reply via email to

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