guix/guix/scripts
Ludovic Courtès ccda88a070
package: Honor '--dry-run' when target profile is already in store.
Fixes <https://issues.guix.gnu.org/53267>.
Reported by Tirifto <tirifto@posteo.cz>.

Regression introduced in 65ffb9388c.

In the (unlikely) case where the profile we're targeting with "guix
upgrade -n" or similar is already built, a new profile generation would
be created and linked to despite the use of '-n'.  This is because
65ffb9388c assumed that dry-run behavior
would be handled solely by the build handler, which is not the case when
there's nothing to build.

* guix/scripts/package.scm (build-and-use-profile): Reintroduce #:dry-run?
and honor it.
(process-actions): Pass #:dry-run? to 'build-and-use-profile'.
* tests/guix-package-net.sh: Add test.
2022-01-19 22:07:54 +01:00
..
container
git
home home: import: Fix handling of manifest entries with specific output. 2022-01-05 23:44:18 +01:00
import import: texlive: Update error message. 2022-01-10 12:47:01 +01:00
system
archive.scm
authenticate.scm
build.scm
challenge.scm challenge: Store item contents are returned in canonical order. 2021-12-12 00:27:53 +01:00
container.scm
copy.scm
deploy.scm
describe.scm
discover.scm
download.scm
edit.scm
environment.scm
gc.scm
git.scm
graph.scm
hash.scm guix hash: Allow '-r' as a non-deprecated alias. 2022-01-10 19:31:02 +01:00
home.scm guix home: Default verbosity is the same as for 'guix system'. 2022-01-17 19:05:48 +01:00
import.scm
install.scm
lint.scm
offload.scm offload: Do not read ~/.ssh/config. 2022-01-03 19:32:08 +01:00
pack.scm
package.scm package: Honor '--dry-run' when target profile is already in store. 2022-01-19 22:07:54 +01:00
perform-download.scm
processes.scm
publish.scm
pull.scm
refresh.scm refresh: Support non-tarball sources. 2022-01-06 16:27:30 +01:00
remove.scm
repl.scm
search.scm
shell.scm shell: Cache profiles even when using package specs. 2022-01-11 20:34:59 +01:00
show.scm
size.scm
style.scm style: '-S format' canonicalizes comments. 2022-01-10 14:59:26 +01:00
substitute.scm substitute: Document the limited UI. 2021-12-29 01:43:24 +01:00
system.scm scripts: system: Rationalize persistency. 2022-01-14 12:26:07 +01:00
time-machine.scm
upgrade.scm
weather.scm