(address . bug-guix@gnu.org)
Hi,
It seems that running "guix package --upgrade ." reverses the order of
packages installed in a profile. Apparently as a result, repeatedly
running the command on a profile will create multiple generations, even
though the packages are not actually being upgraded.
Here's a way to reproduce it:
Toggle snippet (61 lines)
$ guix package -p test-profile -i guile git:send-email
[0] marusich@garuda.local:/tmp
$ guix package -p test-profile -i guile git:send-email
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following packages will be installed:
guile 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
git:send-email 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
2 packages in profile
The following environment variable definitions may be needed:
export PATH="test-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="test-profile/libexec/git-core"
[0] marusich@garuda.local:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following packages will be upgraded:
git:send-email 2.17.0 → 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
guile 2.2.3 → 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
2 packages in profile
The following environment variable definitions may be needed:
export PATH="test-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="test-profile/libexec/git-core"
[0] marusich@garuda.local:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following packages will be upgraded:
guile 2.2.3 → 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
git:send-email 2.17.0 → 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
2 packages in profile
The following environment variable definitions may be needed:
export PATH="test-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="test-profile/libexec/git-core"
[0] marusich@garuda.local:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following packages will be upgraded:
git:send-email 2.17.0 → 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
guile 2.2.3 → 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
2 packages in profile
The following environment variable definitions may be needed:
export PATH="test-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="test-profile/libexec/git-core"
[0] marusich@garuda.local:/tmp
$
--
Chris
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrQRuUACgkQ3UCaFdgi
Rp0ykg//ZUMd60tJaYdKF9Zt43S56FsUN9956iV73GWAVzLCKeVotMUrvhS4U1RM
YVbtMiWvWPNEqW00Uls8Cn5wmD7skDlykty1QcUUj7fEL+1DjU4PeQsYoLeohStE
q98XrMal1Mn+Un48HrNdDgdhPqFkOvhhAbFTZpZQLAd1cC2OAG+DEEvCsEyrrlVz
i/E/9LHSg8jZnsy8dB3wGwbRBe44Sp9Daq3XcBmoGVtYo79Uwk4ZHkNQylbGq/EZ
sVdOahc9D+hNF6dNBsi3m47kwsBSr81tBe4NUTyUNdJP5OAt4cbJVqVVBrp4WwbF
j0KPCk4ev21LCBq5VUxvRBmvRhxZT2Ekw3gTWFu38sQFWRl+CFwHKy5GnGPqe+iG
9fMJm4OlYaDwkdilvBLu2e6cxaBf9IHJ3caFcK+6X/pww32/JHzSK4m4azXAo6PB
ih21fTtvc4XKfohdHC/dDPYTbVnzIgtDqnFak55yLVdXKhj+kDgPSOLnxZL8+m8N
2I8RDMrp4uBkL1p7+XyVrRWLvQpJJ7vXG8qtXxMXhWHas3t30ndYUoyRTkh4x8zw
egoEaOMZSt6EebNEQk1ikF+ZqvEzze1X3acXOdWfgKiHiFWs6aAsc7/AOH+EhzFK
4WWZSqCk7qE8TkyuKLqjgQbc26HAAYTaHaWhgUXLKnti4REPIyk=
=fntP
-----END PGP SIGNATURE-----