ccda88a070
Fixes <https://issues.guix.gnu.org/53267>. Reported by Tirifto <tirifto@posteo.cz>. Regression introduced in 65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161. 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 65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161 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. |
||
---|---|---|
.. | ||
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 | ||
gc.scm | ||
git.scm | ||
graph.scm | ||
hash.scm | ||
home.scm | ||
import.scm | ||
install.scm | ||
lint.scm | ||
offload.scm | ||
pack.scm | ||
package.scm | ||
perform-download.scm | ||
processes.scm | ||
publish.scm | ||
pull.scm | ||
refresh.scm | ||
remove.scm | ||
repl.scm | ||
search.scm | ||
shell.scm | ||
show.scm | ||
size.scm | ||
style.scm | ||
substitute.scm | ||
system.scm | ||
time-machine.scm | ||
upgrade.scm | ||
weather.scm |