gnu: arandr: Use absolute path for xrandr.
* gnu/packages/xdisorg.scm (arandr)[arguments]: Add configure phase.
This commit is contained in:
parent
9031d26aeb
commit
28fd275caf
|
@ -93,6 +93,14 @@
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:python ,python-2 ;incompatible with python 3
|
`(#:python ,python-2 ;incompatible with python 3
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'configure
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "screenlayout/xrandr.py"
|
||||||
|
(("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
|
||||||
|
"/bin/xrandr\"")))
|
||||||
|
#t)))
|
||||||
#:tests? #f)) ;no tests
|
#:tests? #f)) ;no tests
|
||||||
(inputs `(("pygtk" ,python2-pygtk)
|
(inputs `(("pygtk" ,python2-pygtk)
|
||||||
("xrandr" ,xrandr)))
|
("xrandr" ,xrandr)))
|
||||||
|
|
Loading…
Reference in New Issue