diff options
Diffstat (limited to 'guix/scripts/system.scm')
-rw-r--r-- | guix/scripts/system.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 7c0dde9030..056c8e6d30 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -199,6 +199,9 @@ it atomically, and then run OS's activation script." ;; The activation script may change $PATH, among others, so protect ;; against that. (return (save-environment-excursion + ;; Tell 'activate-current-system' what the new system is. + (setenv "GUIX_NEW_SYSTEM" system) + (primitive-load (derivation->output-path script)))) ;; TODO: Run 'deco reload ...'. |