gnu: arandr: Remove make-xrandr-available phase.
wrap-program functionality is already provided by python-build-system. * gnu/packages/xdisorg.scm (arandr): Remove make-xrandr-available phase.
This commit is contained in:
parent
e8d9a87862
commit
b5244fcb49
|
@ -93,16 +93,7 @@
|
||||||
(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
|
||||||
#:tests? #f ;no tests
|
#:tests? #f)) ;no tests
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'install 'make-xrandr-available
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(wrap-program (string-append (assoc-ref outputs "out")
|
|
||||||
"/bin/arandr")
|
|
||||||
`("PATH" ":" prefix (,(string-append (assoc-ref inputs "xrandr")
|
|
||||||
"/bin"))))
|
|
||||||
#t)))))
|
|
||||||
(inputs `(("pygtk" ,python2-pygtk)
|
(inputs `(("pygtk" ,python2-pygtk)
|
||||||
("xrandr" ,xrandr)))
|
("xrandr" ,xrandr)))
|
||||||
(native-inputs `(("gettext" ,gettext-minimal)
|
(native-inputs `(("gettext" ,gettext-minimal)
|
||||||
|
|
Loading…
Reference in New Issue