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.
master
Timothy Sample 2019-07-19 12:05:58 -04:00
parent e1f174ae28
commit 1c9b99234c
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 0 additions and 8 deletions

View File

@ -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