summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-07-28 14:47:16 +0530
committerArun Isaac <arunisaac@systemreboot.net>2017-07-29 16:47:37 +0530
commitb5244fcb49804922e34fffb18d71908dac37b303 (patch)
tree402eb852250c5c3fdad01637845a038c774655f3
parente8d9a87862fd9d9b19e77f0b88c7f8e774f33961 (diff)
downloadguix-b5244fcb49804922e34fffb18d71908dac37b303.tar.gz
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.
-rw-r--r--gnu/packages/xdisorg.scm11
1 files changed, 1 insertions, 10 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index d102077c91..84794a05c3 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -93,16 +93,7 @@
     (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)