diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-12-06 17:55:49 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-12-06 23:50:04 +0100 |
commit | d98a0203b733316a8a5c9440469dfdd10fc9613f (patch) | |
tree | aab053f7ebc269f76a95daa4190e12eb323d0828 /doc | |
parent | 4a6cef9d66ff26e96d63f2f1f886b8212154ca00 (diff) | |
download | guix-d98a0203b733316a8a5c9440469dfdd10fc9613f.tar.gz guix-d98a0203b733316a8a5c9440469dfdd10fc9613f.zip |
shell: ‘--development’ honors ‘--system’.
Fixes a bug whereby ‘package->development-manifest’ would run with the
wrong system in mind, leading to errors like this:
$ guix shell -s i586-gnu -D shepherd --no-grafts
guix shell: error: package linux-libre-headers@5.15.49 does not support i586-gnu
* guix/scripts/environment.scm (options/resolve-packages): Define
‘system’ and pass it to ‘package->development-manifest’.’
* tests/guix-shell.sh: Test it.
Change-Id: I95c471c1918913ab80dec7d3ca64fe38583cce78
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions