From 4231031b69f141639ffd7056bfe7ddf60e7c534a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 16 Jun 2022 16:53:36 +0200 Subject: shell: Do not auto-detect manifest when '-p' is used. Previous, "guix shell -p /path/to/profile" would have manifest/guix.scm auto-detection turned on. * guix/scripts/shell.scm (auto-detect-manifest)[options-contain-payload?]: Return #t for 'profile. --- guix/scripts/shell.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm index 1a6df98829..84776af2f3 100644 --- a/guix/scripts/shell.scm +++ b/guix/scripts/shell.scm @@ -256,6 +256,7 @@ Return the modified OPTS." ((('package . _) . _) #t) ((('load . _) . _) #t) ((('manifest . _) . _) #t) + ((('profile . _) . _) #t) ((('expression . _) . _) #t) ((_ . rest) (options-contain-payload? rest)))) -- cgit v1.2.3