mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
shell: Fix '--export-manifest' for cached profiles and when '-p' is used.
Fixes <https://issues.guix.gnu.org/55521>. * guix/scripts/shell.scm (export-manifest): When computing 'manifest', honor the 'profile key. * tests/guix-shell-export-manifest.sh: Add test.
This commit is contained in:
parent
4231031b69
commit
925a57c5d0
2 changed files with 13 additions and 0 deletions
|
@ -466,6 +466,8 @@ concatenates MANIFESTS, a list of expressions."
|
|||
(filter-map (match-lambda
|
||||
(('manifest . file)
|
||||
(load-manifest file))
|
||||
(('profile . file)
|
||||
(profile-manifest file))
|
||||
(_ #f))
|
||||
opts)))))
|
||||
(display (G_ "\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue