~ruther/guix-local

8f710be89e18175e89d73332030b305f434d8883 — Maxime Devos 4 years ago 69814c9
gnu: awesome: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/wm.scm (awesome): Delete trailing #t.
[inputs]: Add 'bash-minimal'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3dd64b3ddc2884bd269ec5d07a58ef8944e848ff
1 files changed, 4 insertions(+), 5 deletions(-)

M gnu/packages/wm.scm
M gnu/packages/wm.scm => gnu/packages/wm.scm +4 -5
@@ 1230,7 1230,8 @@ for wlroots-based Wayland compositors.")
           pkg-config
           xmlto))
    (inputs
     (list cairo
     (list bash-minimal
           cairo
           dbus
           gdk-pixbuf
           glib


@@ 1311,8 1312,7 @@ for wlroots-based Wayland compositors.")
             (let* ((out (assoc-ref outputs "out"))
                    (awesome (string-append out "/bin/awesome")))
               (substitute* (string-append out "/share/xsessions/awesome.desktop")
                 (("Exec=awesome") (string-append "Exec=" awesome)))
               #t)))
                 (("Exec=awesome") (string-append "Exec=" awesome))))))
         (add-after 'install 'wrap
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let* ((awesome (assoc-ref outputs "out"))


@@ 1325,8 1325,7 @@ for wlroots-based Wayland compositors.")
                 `("LUA_CPATH" ";" suffix
                   (,(format #f "~a/lib/lua/~a/?.so" lua-lgi lua-version)))
                 `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
                 `("LD_LIBRARY_PATH" suffix (,cairo)))
               #t))))))
                 `("LD_LIBRARY_PATH" suffix (,cairo)))))))))
    (home-page "https://awesomewm.org/")
    (synopsis "Highly configurable window manager")
    (description