guix/guix/scripts
Ludovic Courtès d98a0203b7
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
2023-12-06 23:50:04 +01:00
..
container
git
home
import
system
archive.scm
authenticate.scm
build.scm
challenge.scm
container.scm
copy.scm
deploy.scm
describe.scm
discover.scm
download.scm
edit.scm
environment.scm shell: ‘--development’ honors ‘--system’. 2023-12-06 23:50:04 +01:00
gc.scm
git.scm
graph.scm
hash.scm
home.scm
import.scm
install.scm
lint.scm
locate.scm locate: Gracefully handle busy-database error conditions. 2023-11-26 23:34:48 +01:00
offload.scm
pack.scm gnu: Use ‘libc-utf8-locales-for-target’. 2023-12-02 12:25:45 +01:00
package.scm
perform-download.scm
processes.scm
publish.scm
pull.scm
refresh.scm
remove.scm
repl.scm
search.scm
shell.scm shell: Disable caching for ‘guix shell -f guix.scm’. 2023-11-22 23:55:12 +01:00
show.scm
size.scm
style.scm
substitute.scm substitute: Do not exit when failing to find a nar. 2023-12-04 22:26:36 +01:00
system.scm
time-machine.scm
upgrade.scm
weather.scm