all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27860] [PATCH] gnu: arandr: Remove make-xrandr-available phase.
@ 2017-07-28  9:19 Arun Isaac
  2017-07-28 21:13 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2017-07-28  9:19 UTC (permalink / raw)
  To: 27860

wrap-program functionality is already provided by python-build-system.

* gnu/packages/xdisorg.scm (arandr): Remove make-xrandr-available phase.
---
 gnu/packages/xdisorg.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index d102077c9..84794a05c 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)
-- 
2.12.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#27860] [PATCH] gnu: arandr: Remove make-xrandr-available phase.
  2017-07-28  9:19 [bug#27860] [PATCH] gnu: arandr: Remove make-xrandr-available phase Arun Isaac
@ 2017-07-28 21:13 ` Ludovic Courtès
  2017-07-29 11:40   ` bug#27860: " Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-28 21:13 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 27860

Arun Isaac <arunisaac@systemreboot.net> skribis:

> wrap-program functionality is already provided by python-build-system.
>
> * gnu/packages/xdisorg.scm (arandr): Remove make-xrandr-available phase.

Good catch.  LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#27860: [PATCH] gnu: arandr: Remove make-xrandr-available phase.
  2017-07-28 21:13 ` Ludovic Courtès
@ 2017-07-29 11:40   ` Arun Isaac
  0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2017-07-29 11:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27860-done


Pushed!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-29 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28  9:19 [bug#27860] [PATCH] gnu: arandr: Remove make-xrandr-available phase Arun Isaac
2017-07-28 21:13 ` Ludovic Courtès
2017-07-29 11:40   ` bug#27860: " Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.