summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-07-01 17:35:58 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-07-01 17:52:42 +0200
commit210f5420ed84ed38e9cc4bbae93896dc03ab8346 (patch)
tree9a3c8fc08ce491e1a087b9d6a2089184f1197aa8
parentb3e8e6fdcf5cbe4526423a70f1abee6bbc185844 (diff)
downloadguix-210f5420ed84ed38e9cc4bbae93896dc03ab8346.tar.gz
gnu: solaar: Fix build.
* gnu/packages/admin.scm (solaar)[arguments]: Remove unnecessary custom ‘build’ phase.
Set PYTHONPATH earlier, before building.

Reported by Robin Templeton (terpri on #guix).
-rw-r--r--gnu/packages/admin.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d9285d878f..9b3bca5482 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3673,10 +3673,7 @@ support forum.  It runs with the @code{/exec} command in most IRC clients.")
               (("'--prefix' in sys\\.argv")
                "len([x.startswith('--prefix=') for x in sys.argv]) > 0"))
              #t))
-         (replace 'build
-           (lambda _
-             (invoke "python" "setup.py" "build")))
-         (add-before 'check 'setenv-PATH
+         (add-before 'build 'setenv-PATH
            (lambda _
              (setenv "PYTHONPATH" (string-append "lib:" (getenv "PYTHONPATH")))
              #t)))))