unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45081] [PATCH] gnu: stumpwm-with-slynk: Fix build error
@ 2020-12-06 20:52 Niklas Eklund
  2020-12-06 20:58 ` Niklas Eklund
  2020-12-10 14:39 ` bug#45081: " Efraim Flashner
  0 siblings, 2 replies; 3+ messages in thread
From: Niklas Eklund @ 2020-12-06 20:52 UTC (permalink / raw)
  To: 45081


I encountered the following error trying to build stumpwm-with-slynk:

While evaluating the form starting at line 13, column 0
  of #P"/tmp/guix-build-stumpwm-with-slynk-20.11.drv-0/source/load-stumpwm.lisp":

debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
  Can't create directory /homeless-shelter/

I found a similar issue mentioned on the internet and tried the suggested
solution, which seems to work for me building in my development guix
environment.

If there is a better place to add this setenv form please feel free to make a
change to it :)

Cheers




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#45081] [PATCH] gnu: stumpwm-with-slynk: Fix build error
  2020-12-06 20:52 [bug#45081] [PATCH] gnu: stumpwm-with-slynk: Fix build error Niklas Eklund
@ 2020-12-06 20:58 ` Niklas Eklund
  2020-12-10 14:39 ` bug#45081: " Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Niklas Eklund @ 2020-12-06 20:58 UTC (permalink / raw)
  To: 45081

[-- Attachment #1: Type: text/plain, Size: 27 bytes --]


Forgot to add the patch!


[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 1254 bytes --]

From ef539b90a4755b33df629d4031af77fcabf6877a Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
Date: Sun, 6 Dec 2020 21:40:38 +0100
Subject: [PATCH] gnu: stumpwm-with-slynk: Fix build error

---
 gnu/packages/wm.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 653af37de7..c681d3a495 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2020 EuAndreh <eu@euandre.org>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
 ;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2020 Niklas Eklund <niklas.eklund@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1679,6 +1680,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")
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#45081: [PATCH] gnu: stumpwm-with-slynk: Fix build error
  2020-12-06 20:52 [bug#45081] [PATCH] gnu: stumpwm-with-slynk: Fix build error Niklas Eklund
  2020-12-06 20:58 ` Niklas Eklund
@ 2020-12-10 14:39 ` Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2020-12-10 14:39 UTC (permalink / raw)
  To: Niklas Eklund; +Cc: 45081-done

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On Sun, Dec 06, 2020 at 09:52:01PM +0100, Niklas Eklund wrote:
> 
> I encountered the following error trying to build stumpwm-with-slynk:
> 
> While evaluating the form starting at line 13, column 0
>   of #P"/tmp/guix-build-stumpwm-with-slynk-20.11.drv-0/source/load-stumpwm.lisp":
> 
> debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
>   Can't create directory /homeless-shelter/
> 
> I found a similar issue mentioned on the internet and tried the suggested
> solution, which seems to work for me building in my development guix
> environment.
> 
> If there is a better place to add this setenv form please feel free to make a
> change to it :)
> 

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-10 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 20:52 [bug#45081] [PATCH] gnu: stumpwm-with-slynk: Fix build error Niklas Eklund
2020-12-06 20:58 ` Niklas Eklund
2020-12-10 14:39 ` bug#45081: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).