guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: shell: Do not auto-detect manifest when '-p' is used.


From: guix-commits
Subject: 02/06: shell: Do not auto-detect manifest when '-p' is used.
Date: Thu, 16 Jun 2022 17:58:41 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4231031b69f141639ffd7056bfe7ddf60e7c534a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jun 16 16:53:36 2022 +0200

    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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]