~ruther/guix-local

28fd275cafcd8508a786bacac4d56ef927facbfa — Arun Isaac 8 years ago 9031d26
gnu: arandr: Use absolute path for xrandr.

* gnu/packages/xdisorg.scm (arandr)[arguments]: Add configure phase.
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/xdisorg.scm
M gnu/packages/xdisorg.scm => gnu/packages/xdisorg.scm +8 -0
@@ 93,6 93,14 @@
    (build-system python-build-system)
    (arguments
     `(#: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
    (inputs `(("pygtk" ,python2-pygtk)
              ("xrandr" ,xrandr)))