gnu: stumpwm-with-slynk: Fix build error.
authorNiklas Eklund <niklas.eklund@posteo.net>
Sun, 6 Dec 2020 20:40:38 +0000 (21:40 +0100)
committerEfraim Flashner <efraim@flashner.co.il>
Thu, 10 Dec 2020 14:38:30 +0000 (16:38 +0200)
* gnu/packages/wm.scm (stumpwm-with-slynk)[arguments]: Provide a
writable directory to use as $HOME during building.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/wm.scm

index 73a83c3..3569d7f 100644 (file)
@@ -39,6 +39,7 @@
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
+;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1680,6 +1681,7 @@ productive, customizable lisp based systems.")
              (lambda* (#:key inputs outputs #:allow-other-keys)
                (let* ((out (assoc-ref outputs "out"))
                       (program (string-append out "/bin/stumpwm")))
+                 (setenv "HOME" "/tmp")
                  (build-program program outputs
                                 #:entry-program '((stumpwm:stumpwm) 0)
                                 #:dependencies '("stumpwm" "slynk")