guix-devel/guix/scripts
Ludovic Courtès bc6e291ef0
guix package: Use relative symlinks to generations.
Reported by Roel Janssen <roel@gnu.org>
at <https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00036.html>.

* guix/profiles.scm (switch-to-generation): Use (basename generation) as
the symlink target.
* guix/scripts/package.scm (build-and-use-profile): Likewise,
use (basename name) as the symlink target.
* tests/guix-package.sh: Adjust --roll-back test accordingly.  Add
explicitly test with '-p foo/prof'.
2018-07-13 17:28:39 +02:00
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: gem: Add recursive import. 2018-07-11 07:08:54 +03:00
system guix system: search: Display all provision names as 'shepherdnames'. 2018-05-01 23:29:03 +02:00
archive.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm scripts: Add missing -V option to commands that document it. 2018-07-07 18:10:31 +02:00
copy.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
download.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm profiles: Introduce 'profile-search-paths' and use it. 2018-07-11 00:52:36 +02:00
gc.scm scripts: gc: Report size in MiBs instead of bytes. 2018-06-28 00:29:46 +02:00
graph.scm graph: Add "module" node type. 2018-03-27 14:51:44 +02:00
hash.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
import.scm guix: Add opam importer. 2018-07-10 10:11:01 +02:00
lint.scm packages: Add 'package-patched-vulnerabilities'. 2018-06-09 12:02:28 +02:00
offload.scm offload: Fix error message in 'guix offload test'. 2018-06-15 10:04:59 +02:00
pack.scm pack: Use guile-for-build for the target system. 2018-07-05 13:35:21 +02:00
package.scm guix package: Use relative symlinks to generations. 2018-07-13 17:28:39 +02:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm publish: Restore gzip compression in cache-less mode. 2018-01-22 11:15:50 +01:00
pull.scm pull: Add '--list-generations'. 2018-06-13 23:41:21 +02:00
refresh.scm refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
size.scm store: Add 'query-path-info*'. 2018-07-03 00:39:10 +02:00
substitute.scm scripts: Add missing -V option to commands that document it. 2018-07-07 18:10:31 +02:00
system.scm guix system: Make 'init' idempotent again. 2018-07-03 17:50:04 +02:00
weather.scm weather: Fix pasto in --version output. 2018-07-07 18:10:31 +02:00