diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-08-23 18:41:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-08-23 22:33:03 +0200 |
commit | 79ee406d51f95bc5a4b60ee4b097a9869e8dea7b (patch) | |
tree | 511986b759c419057171013283693450dfc3df57 /tests | |
parent | 6b74bb0ae3423d5150b765ac81cc1c2a48d4807e (diff) | |
download | patches-79ee406d51f95bc5a4b60ee4b097a9869e8dea7b.tar patches-79ee406d51f95bc5a4b60ee4b097a9869e8dea7b.tar.gz |
profiles: Produce a top-level Info 'dir' file.
Fixes <http://bugs.gnu.org/18305>.
Reported by Brandon Invergo <brandon@gnu.org>.
* 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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/profiles.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/profiles.scm b/tests/profiles.scm index e1f1eefee7..8f14bf0d6f 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -147,7 +147,8 @@ (mlet* %store-monad ((entry -> (package->manifest-entry %bootstrap-guile)) (guile (package->derivation %bootstrap-guile)) - (drv (profile-derivation (manifest (list entry)))) + (drv (profile-derivation (manifest (list entry)) + #:info-dir? #f)) (profile -> (derivation->output-path drv)) (bindir -> (string-append profile "/bin")) (_ (built-derivations (list drv)))) |