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.
This commit is contained in:
Ludovic Courtès 2022-06-16 16:53:36 +02:00
parent c8e393ffe2
commit 4231031b69
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 0 deletions

View File

@ -256,6 +256,7 @@ Return the modified OPTS."
((('package . _) . _) #t)
((('load . _) . _) #t)
((('manifest . _) . _) #t)
((('profile . _) . _) #t)
((('expression . _) . _) #t)
((_ . rest) (options-contain-payload? rest))))