summaryrefslogtreecommitdiff
path: root/guix/self.scm
Commit message (Collapse)AuthorAge
* self: Build the Info manual.Ludovic Courtès2018-06-09
| | | | | | * guix/self.scm (info-manual): New procedure. (whole-package): Add #:info and honor it. (compiled-guix): Pass #:info.
* self: Compute and use locale data.Ludovic Courtès2018-06-09
| | | | | | | | * guix/self.scm (sub-directory, locale-data): New procedures. (guix-command): Add SOURCE parameter. Call 'locale-data' when SOURCE is true and use it in staged 'bindtextdomain' calls. (whole-package): Add #:command and honor it. (compiled-guix): Pass #:command to 'whole-package'.
* self: Produce a complete package with the 'guix' command.Ludovic Courtès2018-06-09
| | | | | | | | | | | | * guix/self.scm (guix-command): New procedure. (compiled-guix): Add #:pull-version parameter. [command, package]: New variables. Honor PULL-VERSION. (guix-derivation): Add #:pull-version and pass it to 'compiled-guix'. * build-aux/build-self.scm (build-program): Add #:pull-version parameter. Pass it to 'guix-derivation'. (build): Add #:pull-version and pass it to 'build-program'. * build-aux/compile-as-derivation.scm: Pass #:pull-version to BUILD.
* self: Do not build (guix man-db).Ludovic Courtès2018-06-02
| | | | | | | | | * guix/self.scm (specification->package): Remove "guile-gdbm-ffi" and "guile2.0-gdbm-ffi". (compiled-guix)[guile-gdbm-ffi]: Remove. [dependencies]: Remove it. [*core-modules*]: Add "guix/man-db.scm" via #:extra-files. [*extra-modules*]: Exclude "guix/man-db.scm".
* self: Include gnu/build/* in the result.Ludovic Courtès2018-06-02
| | | | | | | | | | Previously, modules like gnu/build/cross-toolchain.scm or gnu/build/svg.scm were missing from the result. * guix/self.scm (compiled-guix)[*system-modules*]: Add gnu/build/* to #:extra-files. (imported-files)[same-target?]: New procedure. [build]: Call 'delete-duplicates' on FILES.
* self: 'compiled-files' builds the given list of files.Ludovic Courtès2018-06-02
| | | | | | | * guix/self.scm (compiled-files): Add 'module-files' parameter. [build]: 'process-directory' now honors MODULE-FILES instead of building any '.scm' file it sees. (scheme-node): Adjust accordingly.
* self: Improve backtraces for 'imported-files'.Ludovic Courtès2018-06-02
| | | | * guix/self.scm (imported-files): Pass #:env-vars.
* self: Show backtraces on more columns.Ludovic Courtès2018-06-01
| | | | * guix/self.scm (compiled-modules): Add "COLUMNS" to #:env-vars.
* self: Add dependency on guile-gdbm-ffi.Ludovic Courtès2018-06-01
| | | | | | | | | | | Fixes a regression introduced in 331ac4cc239727992329207ba428b3f26cae91d9 whereby "guile-gdbm-ffi" would now be mandatory. * guix/self.scm (specification->package): Add "guile-gdbm-ffi" and "guile2.0-gdbm-ffi". (compiled-guix)[guile-gdbm-ffi]: New variables. [dependencies]: Add it.
* build: Check for Guile-SQLite3.Ludovic Courtès2018-06-01
| | | | | | | | * m4/guix.m4 (GUIX_CHECK_GUILE_SQLITE3): New macro. * configure.ac: Use it and define 'HAVE_GUILE_SQLITE3'. * guix/self.scm (specification->package): Add "guile-sqlite3". (compiled-guix)[guile-sqlite3]: New variable. [dependencies]: Add it.
* self: Reduce the set of dependencies.Ludovic Courtès2018-05-31
| | | | | | | | By mistake we were adding more dependencies than needed to the Scheme derivations. * guix/self.scm (compiled-guix)[dependencies]: Use 'package-transitive-propagated-inputs', not 'package-transitive-inputs'.
* self: Add "guix-packages-base" derivation.Ludovic Courtès2018-05-07
| | | | | | | | | | This introduces an intermediate derivation, thereby reducing the amount of rebuild that needs to happen when "leaf" package modules are modified. * guix/self.scm (compiled-guix)[*core-package-modules*]: New variable. [*package-modules*, *system-modules*, *cli-modules*]: Depend on it. Add it to the directory union.
* self: Produce a spliced (guix config) to placate Guile 2.0.Ludovic Courtès2018-04-11
| | | | | | | | Fixes 'guix pull' with Guile 2.0. See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27284#153>. * guix/self.scm (make-config.scm): Remove 'begin' in 'scheme-file' argument and pass #:splice? #t.
* self: 'package-for-guile' really honors GUILE-VERSION.Ludovic Courtès2018-04-11
| | | | | * guix/self.scm (package-for-guile): Pass GUILE-VERSION to 'false-if-wrong-guile'.
* self: Remove 'eval-when' from in generated (guix config).Ludovic Courtès2018-04-11
| | | | * guix/self.scm (make-config.scm): Remove unneeded 'eval-when'.
* self: Don't use deprecated package names.Ludovic Courtès2018-04-10
| | | | | * guix/self.scm (compiled-guix)[guile-json, guile-ssh]: Don't refer t "guile2.2-json" and "guile2.2-ssh", which are deprecated.
* self: Export '%guix-register-program' in generated (guix config).Ludovic Courtès2018-04-10
| | | | * guix/self.scm (make-config.scm): Export '%guix-register-program'.
* self: Fix package names for compilation with Guile 2.0.Ludovic Courtès2018-04-10
| | | | | | | Reported by Ricardo Wurmus. * guix/self.scm (specification->package): Add guile2.0-{json,git,ssh}. (guile-for-build): Use 'module-ref' for Guile 2.0.
* self: Display a new line at the end of module compilation.Ludovic Courtès2018-04-10
| | | | | * guix/self.scm (compiled-modules)[build]: Add a 'newline' call at the end.
* self: Don't substitute the '-source' derivations.Ludovic Courtès2018-04-10
| | | | | | | With substitution enabled we would end up downloading 10+ MiB of source that's already available locally on disk. * guix/self.scm (imported-files): Pass #:options to 'computed-file'.
* Add (guix self).Ludovic Courtès2018-04-08
* guix/self.scm: New file. * Makefile.am (MODULES): Add it. * gnu/packages.scm (%distro-root-directory): Rewrite to try different directories. * guix/discovery.scm (guix): Export 'scheme-files'.