summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-08-17 04:43:32 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-19 19:04:08 +0200
commit727f64108a673aa71b86ffd9e19bcc615276a01f (patch)
tree71f12504db2cb73536ac00741ad6afb06cd389f3
parent9e5d8e438e68ce3c8a6b641429924254af0c7e73 (diff)
downloadguix-727f64108a673aa71b86ffd9e19bcc615276a01f.tar.gz
gnu: gnome-music: Replace custom typelib and python wraps.
* gnu/packages/gnome.scm (gnome-music) [arguments]: Modify.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r--gnu/packages/gnome.scm11
1 files changed, 3 insertions, 8 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index aa700022d6..a9826918a7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -842,6 +842,7 @@ cloud integration is offered through GNOME Online Accounts.")
     (outputs '("out" "help"))
     (arguments
      `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       #:python? #t ; To wrap binaries
        #:tests? #f           ; Tests require networking
        #:phases
        (modify-phases %standard-phases
@@ -862,15 +863,9 @@ cloud integration is offered through GNOME Online Accounts.")
                #t)))
          (add-after 'move-help 'wrap-gnome-music
            (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (pylib (string-append out "/lib/python"
-                                          ,(version-major+minor
-                                            (package-version python))
-                                          "/site-packages")))
+             (let* ((out (assoc-ref outputs "out")))
                (wrap-program (string-append out "/bin/gnome-music")
-                 `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))
-                 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))
-                 `("PYTHONPATH" = (,(getenv "PYTHONPATH") ,pylib))))
+                 `("GRL_PLUGIN_PATH" = (,(getenv "GRL_PLUGIN_PATH")))))
              #t)))))
     (native-inputs
      `(("desktop-file-utils" ,desktop-file-utils)