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:
Arun Isaac 2017-07-28 14:47:16 +05:30
parent e8d9a87862
commit b5244fcb49
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -93,16 +93,7 @@ (define-public arandr
(build-system python-build-system)
(arguments
`(#:python ,python-2 ;incompatible with python 3
#: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)))))
#:tests? #f)) ;no tests
(inputs `(("pygtk" ,python2-pygtk)
("xrandr" ,xrandr)))
(native-inputs `(("gettext" ,gettext-minimal)