diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm index a92932cbc9..1eab05d737 100644 --- a/guix/scripts/shell.scm +++ b/guix/scripts/shell.scm @@ -372,6 +372,10 @@ (define (key->file key) ;; least depending on external state (with-source, with-commit, etc.), ;; so do not cache anything when they're used. (values #f #f)) + ((('profile . _) . _) + ;; If the user already specified a profile, there's nothing more to + ;; cache. + (values #f #f)) ((('system . system) . rest) (loop rest system file specs)) ((_ . rest) (loop rest system file specs)))))