diff --git a/guix/self.scm b/guix/self.scm index b7d8f4ee91..69e2381a8c 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -617,7 +617,7 @@ Info manual." (setenv "GUIX_CONFIGURATION_DIRECTORY" #$(string-append %sysconfdir "/guix"))) (unless (getenv "NIX_STORE_DIR") - (setenv "NIX_STORE_DIR" %storedir)) + (setenv "NIX_STORE_DIR" #$%storedir)) (apply execl #$(file-append daemon "/bin/guix-daemon") "guix-daemon" (cdr (command-line))))))