From a741a1d9f2e1dd7fedf6d602f22da38e82d9b4e6 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 1 Jul 2018 18:53:38 +0100 Subject: Work around a issue in grootfs when unpacking tar archives --- guix/docker.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/docker.scm b/guix/docker.scm index 97ac6d982b..61a98b28a5 100644 --- a/guix/docker.scm +++ b/guix/docker.scm @@ -229,9 +229,11 @@ SRFI-19 time-utc object, as the creation time in metadata." ;; Initialize /var/guix, assuming PREFIX points to a profile. (install-database-and-gc-roots "." database prefix)) + (mkdir-p "gnu/store") (apply invoke "tar" "-cf" "../layer.tar" `(,@transformation-options ,@%tar-determinism-options + "gnu" ,@paths ,@(scandir "." (lambda (file) -- cgit v1.2.3