From 1fd180c62dfe96d32015850b25cc018359d72595 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 09:51:15 +0100 Subject: Use git -C to actually pull updates --- home-configuration.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'home-configuration.scm') diff --git a/home-configuration.scm b/home-configuration.scm index 25812ca..8fc6b37 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -143,26 +143,28 @@ ( local-file "home-files/git-ignore.conf" ) ) ) )) (list (let* - ((and " && ") + ((and "&& ") (collect-garbage "sudo guix gc -d 7d ") (configuration-prefix "/home/marek/src/izumi/") (pull-guix "guix pull ") (reconfigure-home (string-append - "git pull --rebase=true " + "git -C " configuration-prefix + " pull " and "guix home reconfigure " configuration-prefix - "home-configuration.scm")) + "home-configuration.scm ")) (reconfigure-system (string-append - "git pull --rebase=true " + "git -C " configuration-prefix + " pull " and "sudo guix system reconfigure " configuration-prefix - "system-configuration.scm")) + "system-configuration.scm ")) (update-system (string-append pull-guix -- cgit v1.2.3