gnu: xbindkeys: Refer to xbindkeys in xbindkeys_show.
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Add a ‘patch-references’ phase.master
parent
72fabd8d6e
commit
2c9d481c90
|
@ -965,7 +965,14 @@ transparent text on your screen.")
|
||||||
(substitute* "xbindkeys_show"
|
(substitute* "xbindkeys_show"
|
||||||
(("^#!.*|^exec wish.*") "")
|
(("^#!.*|^exec wish.*") "")
|
||||||
(("^# \\\\") (string-append "#!" (which "wish"))))
|
(("^# \\\\") (string-append "#!" (which "wish"))))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-after 'unpack 'patch-references
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(substitute* "xbindkeys_show"
|
||||||
|
(("\"(xbindkeys)\"" _ command)
|
||||||
|
(format #f "\"~a/bin/~a\"" out command)))
|
||||||
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue