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.
This commit is contained in:
parent
e1f174ae28
commit
1c9b99234c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue