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:
Tobias Geerinckx-Rice 2021-10-03 16:30:53 +02:00
parent 328fac4789
commit ddec076b96
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2869,8 +2869,13 @@ and execute @file{.desktop} files of the Application type.")
(list (string-append "PREFIX=" out)))
#: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
(propagated-inputs
(inputs
`(("xauth" ,xauth)))
(home-page "https://github.com/Earnestly/sx")
(synopsis "Start an xorg server")