guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65335] [PATCH v2 3/5] gnu: build: activate-current-system: Ensure d


From: Nicolas Graves
Subject: [bug#65335] [PATCH v2 3/5] gnu: build: activate-current-system: Ensure directory existence.
Date: Mon, 21 Aug 2023 00:16:45 +0200

---
 gnu/build/activation.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index eea2233563..759704ae03 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -408,6 +408,7 @@ (define* (activate-current-system
 
   (format #t "making '~a' the current system...~%" system)
 
+  (mkdir-p "/run")
   ;; Atomically make SYSTEM current.
   (let ((new (string-append %current-system ".new")))
     (symlink system new)
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]