diff options
Diffstat (limited to 'etc/guix-install.sh')
-rwxr-xr-x | etc/guix-install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 5012db55dd..1949f00ed4 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -363,7 +363,8 @@ sys_create_store() cd "$tmp_path" _msg "${INF}Installing /var/guix and /gnu..." - tar --extract --file "$pkg" -C / + # Strip (skip) the leading ‘.’ component, which fails on read-only ‘/’. + tar --extract --strip-components=1 --file "$pkg" -C / _msg "${INF}Linking the root user's profile" mkdir -p ~root/.config/guix |