diff options
author | Federico Beffa <beffa@fbengineering.ch> | 2015-04-04 22:51:13 +0200 |
---|---|---|
committer | Federico Beffa <beffa@fbengineering.ch> | 2015-04-08 17:31:12 +0200 |
commit | 042bc828fcd2dc7bbacbe6ef0408722a3d51a684 (patch) | |
tree | 54d0d855fd047e9f36b4eabf6032a2607dea9de8 /guix/scripts | |
parent | 283cce508ae2d300132be21ed1e37ce9f59cd1cb (diff) | |
download | gnu-guix-042bc828fcd2dc7bbacbe6ef0408722a3d51a684.tar gnu-guix-042bc828fcd2dc7bbacbe6ef0408722a3d51a684.tar.gz |
profiles: Generate GHC's package database cache.
* guix/profiles.scm (ghc-package-cache-file): New procedure.
(profile-derivation): Add 'ghc-package-cache?' keyword argument. If true
(the default), add the result of 'ghc-package-cache-file' to 'inputs'.
* guix/scripts/package.scm (guix-package)[process-actions]: Pass
#:ghc-package-cache? to 'profile-generation'.
* tests/packages.scm ("--search-paths with pattern"): Likewise.
* tests/profiles.scm ("profile-derivation"): Likewise.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/package.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 6190f3286d..09ae782751 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -838,6 +838,7 @@ more information.~%")) (profile-derivation new #:info-dir? (not bootstrap?) + #:ghc-package-cache? (not bootstrap?) #:ca-certificate-bundle? (not bootstrap?)))) (prof (derivation->output-path prof-drv))) (show-manifest-transaction (%store) manifest transaction |