From 79ee406d51f95bc5a4b60ee4b097a9869e8dea7b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 23 Aug 2014 18:41:14 +0200 Subject: profiles: Produce a top-level Info 'dir' file. Fixes . Reported by Brandon Invergo . * guix/profiles.scm (manifest-inputs, info-dir-file): New procedures. (profile-derivation): Use them. Add #:info-dir? parameter and honor it. * guix/scripts/package.scm (guix-package): Call 'profile-derivation' with #:info-dir? #f when the 'bootstrap? option is set. * tests/profiles.scm ("profile-derivation"): Pass #:info-dir? #f. --- guix/scripts/package.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'guix/scripts') diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index c33fd7b60..fb285c5e6 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -744,6 +744,7 @@ more information.~%")) (let* ((manifest (profile-manifest profile)) (install (options->installable opts manifest)) (remove (options->removable opts manifest)) + (bootstrap? (assoc-ref opts 'bootstrap?)) (transaction (manifest-transaction (install install) (remove remove))) (new (manifest-perform-transaction @@ -754,7 +755,9 @@ more information.~%")) (unless (and (null? install) (null? remove)) (let* ((prof-drv (run-with-store (%store) - (profile-derivation new))) + (profile-derivation + new + #:info-dir? (not bootstrap?)))) (prof (derivation->output-path prof-drv))) (manifest-show-transaction (%store) manifest transaction #:dry-run? dry-run?) -- cgit v1.3