~ruther/guix-local

76c7fc436a151236f5e1ff966fd99172d85ee422 — Mark H Weaver 8 years ago a6af4d2
gnu: python-qscintilla: Remove result code plumbing.

* gnu/packages/qt.scm (python-qscintilla)[arguments]: In the 'configure'
phase, remove result code plumbing that is no longer needed, since 'invoke'
never returns #false.
1 files changed, 8 insertions(+), 9 deletions(-)

M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +8 -9
@@ 1715,15 1715,14 @@ indicators, code completion and call tips.")
         (replace 'configure
           (lambda* (#:key outputs configure-flags #:allow-other-keys)
             (chdir "Python")
             (and (apply invoke "python3" "configure.py"
                         configure-flags)
                  ;; Install to the right directory
                  (begin
                    (substitute* '("Makefile"
                                   "Qsci/Makefile")
                      (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+")
                       (assoc-ref outputs "out")))
                    #t)))))))
             (apply invoke "python3" "configure.py"
                    configure-flags)
             ;; Install to the right directory
             (substitute* '("Makefile"
                            "Qsci/Makefile")
               (("\\$\\(INSTALL_ROOT\\)/gnu/store/[^/]+")
                (assoc-ref outputs "out")))
             #t)))))
    (inputs
     `(("qscintilla" ,qscintilla)
       ("python" ,python)