mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: sx: Don't propagate xauth.
* gnu/packages/xdisorg.scm (sx)[arguments]: Patch sx to refer to xauth. [propagated-inputs]: Move xauth from here… [inputs]: …to here.
This commit is contained in:
parent
328fac4789
commit
ddec076b96
1 changed files with 6 additions and 1 deletions
|
@ -2869,8 +2869,13 @@ and execute @file{.desktop} files of the Application type.")
|
||||||
(list (string-append "PREFIX=" out)))
|
(list (string-append "PREFIX=" out)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'refer-to-xauth
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "sx"
|
||||||
|
(("\\bxauth\\b" command)
|
||||||
|
(string-append (assoc-ref inputs "xauth") "/bin/" command)))))
|
||||||
(delete 'configure)))) ; no configure script
|
(delete 'configure)))) ; no configure script
|
||||||
(propagated-inputs
|
(inputs
|
||||||
`(("xauth" ,xauth)))
|
`(("xauth" ,xauth)))
|
||||||
(home-page "https://github.com/Earnestly/sx")
|
(home-page "https://github.com/Earnestly/sx")
|
||||||
(synopsis "Start an xorg server")
|
(synopsis "Start an xorg server")
|
||||||
|
|
Loading…
Add table
Reference in a new issue