mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: elogind: Adjust patch for pkttyagent.
* gnu/packages/freedesktop.scm (elogind/fixed): New variable. (elogind): Replace with elogind/fixed. Change-Id: I9c474291816aee7464db5cbe9398b589479e79cf Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
28b2b7e6d7
commit
7ece7095e9
1 changed files with 15 additions and 0 deletions
|
@ -879,6 +879,7 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
(package
|
(package
|
||||||
(name "elogind")
|
(name "elogind")
|
||||||
(version "255.17")
|
(version "255.17")
|
||||||
|
(replacement elogind/fixed)
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1065,6 +1066,20 @@ the org.freedesktop.login1 interface over the system bus, allowing other parts
|
||||||
of a the system to know what users are logged in, and where.")
|
of a the system to know what users are logged in, and where.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
|
(define-public elogind/fixed
|
||||||
|
(hidden-package
|
||||||
|
(package
|
||||||
|
(inherit elogind)
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments elogind)
|
||||||
|
((#:phases phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(replace 'fix-pkttyagent-path
|
||||||
|
(lambda _
|
||||||
|
(substitute* "meson.build"
|
||||||
|
(("bindir / 'pkttyagent'")
|
||||||
|
"'/run/current-system/profile/bin/pkttyagent'")))))))))))
|
||||||
|
|
||||||
(define-public basu
|
(define-public basu
|
||||||
(package
|
(package
|
||||||
(name "basu")
|
(name "basu")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue