Age | Commit message (Expand) | Author |
2018-06-14 | database: 'with-database' can now initialize new databases....* nix/libstore/schema.sql: Rename to...
* guix/store/schema.sql: ... this.
* Makefile.am (nobase_dist_guilemodule_DATA): Add it.
* nix/local.mk (%D%/libstore/schema.sql.hh): Adjust accordingly.
* guix/store/database.scm (sql-schema): New variable.
(sqlite-exec, initialize-database, call-with-database): New procedures.
(with-database): Rewrite in terms of 'call-with-database'.
* tests/store-database.scm ("new database"): New test.
* guix/self.scm (compiled-guix)[*core-modules*]: Add 'schema.sql' to
#:extra-files.
| Ludovic Courtès |
2018-06-09 | self: Build the Info manual....* guix/self.scm (info-manual): New procedure.
(whole-package): Add #:info and honor it.
(compiled-guix): Pass #:info.
| Ludovic Courtès |
2018-06-09 | self: Compute and use locale data....* 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'.
| Ludovic Courtès |
2018-06-09 | self: Produce a complete package with the 'guix' command....* 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.
| Ludovic Courtès |
2018-06-02 | self: Do not build (guix man-db)....* 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".
| Ludovic Courtès |
2018-06-02 | self: Include gnu/build/* in the result....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.
| Ludovic Courtès |
2018-06-02 | self: 'compiled-files' builds the given list of files....* 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.
| Ludovic Courtès |
2018-06-02 | self: Improve backtraces for 'imported-files'....* guix/self.scm (imported-files): Pass #:env-vars.
| Ludovic Courtès |
2018-06-01 | self: Show backtraces on more columns....* guix/self.scm (compiled-modules): Add "COLUMNS" to #:env-vars.
| Ludovic Courtès |
2018-06-01 | self: Add dependency on guile-gdbm-ffi....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.
| Ludovic Courtès |
2018-06-01 | build: Check for Guile-SQLite3....* 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.
| Ludovic Courtès |
2018-05-31 | self: Reduce the set of dependencies....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'.
| Ludovic Courtès |
2018-05-07 | self: Add "guix-packages-base" derivation....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.
| Ludovic Courtès |
2018-04-11 | self: Produce a spliced (guix config) to placate Guile 2.0....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.
| Ludovic Courtès |
2018-04-11 | self: 'package-for-guile' really honors GUILE-VERSION....* guix/self.scm (package-for-guile): Pass GUILE-VERSION to
'false-if-wrong-guile'.
| Ludovic Courtès |
2018-04-11 | self: Remove 'eval-when' from in generated (guix config)....* guix/self.scm (make-config.scm): Remove unneeded 'eval-when'.
| Ludovic Courtès |
2018-04-10 | self: Don't use deprecated package names....* guix/self.scm (compiled-guix)[guile-json, guile-ssh]: Don't refer t
"guile2.2-json" and "guile2.2-ssh", which are deprecated.
| Ludovic Courtès |
2018-04-10 | self: Export '%guix-register-program' in generated (guix config)....* guix/self.scm (make-config.scm): Export '%guix-register-program'.
| Ludovic Courtès |
2018-04-10 | self: Fix package names for compilation with Guile 2.0....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.
| Ludovic Courtès |
2018-04-10 | self: Display a new line at the end of module compilation....* guix/self.scm (compiled-modules)[build]: Add a 'newline' call at the
end.
| Ludovic Courtès |
2018-04-10 | self: Don't substitute the '-source' derivations....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'.
| Ludovic Courtès |
2018-04-08 | Add (guix self)....* 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'.
| Ludovic Courtès |