| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
Fixes <https://bugs.gnu.org/21073>.
* guix/store/database.scm (sqlite-register): Add #:time.
(%epoch): New variable.
(register-items): Add #:registration-time. Pass #:time to
'sqlite-register'.
* gnu/build/install.scm (register-closure): Pass #:registration-time.
|
|
|
|
|
| |
* gnu/build/install.scm (reset-timestamps): Remove.
* gnu/build/vm.scm: Use 'reset-timestamps' from (guix store database).
|
|
|
|
|
|
|
|
| |
* guix/build/store-copy.scm (store-info): Export.
* guix/store/database.scm (register-items): New procedure.
(register-path): Implement in terms of 'register-items'.
* gnu/build/install.scm (register-closure): Use 'register-items' instead
of 'for-each' and 'register-path'.
|
|
|
|
|
|
|
|
|
| |
* guix/store/database.scm (sqlite-register): Remove #:db-file and add
'db' parameter. Remove #:schema and 'parameterize'.
(register-path): Wrap 'sqlite-register' call in 'with-database' and in
'parameterize'.
* tests/store-database.scm ("new database")
("register-path with unregistered references"): Adjust accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/build/install.scm (register-closure): Add #:reset-timestamps? and
and #:schema; honor them. Rewrite in terms of 'register-path'.
(populate-single-profile-directory): Add #:schema and honor it. Make
/var/guix/profiles and /var/guix/gcroots.
* gnu/build/vm.scm (root-partition-initializer): Pass
#:reset-timestamps? to 'register-closure'.
* gnu/system/vm.scm (not-config?): New procedure.
(guile-sqlite3&co): New variable.
(expression->derivation-in-linux-vm)[config]: New variable.
[builder]: Use 'with-extensions'.
(iso9660-image)[schema, config]: New variables.
Wrap build expression in 'with-extensions'; add 'sql-schema' call.
Remove GUIX from INPUTS.
(qemu-image)[schema, config]: New variables.
Wrap body in 'with-extensions'.
(system-docker-image)[not-config?]: Remove.
[config]: Use 'make-config.scm'.
[schema]: New variable.
[build]: Use 'with-extensions'. Add call to 'sql-schema'. Remove GUIX
from INPUTS.
* gnu/system/file-systems.scm (%store-prefix): Check whether
'%store-prefix' is defined.
* guix/scripts/pack.scm (self-contained-tarball)[not-config?]
[libgcrypt, schema]: New variables.
[build]: Wrap in 'with-extensions'. Adjust imported module list to use
'make-config.scm' for (guix config).
|
|
|
|
|
|
|
|
|
| |
* gnu/system/vm.scm (expression->derivation-in-linux-vm)
[user-builder]: Define in non-monadic style as 'program-file'.
[loader]: Likewise, and 'execl' USER-BUILDER instead of loading it.
(system-docker-image): Pass BUILD as the second
argument to 'expression->derivation-in-linux-vm'.
(make-iso9660-image, qemu-image): Remove call to 'reboot'.
|
|
|
|
| |
* guix/store/database.scm (reset-timestamps): Add 'chmod' calls.
|
|
|
|
| |
* guix/store/database.scm (add-reference-sql): Add "OR REPLACE".
|
|
|
|
|
| |
* guix/store/database.scm (register-path): Add #:reset-timestamps? and
honor it.
|
|
|
|
|
| |
* guix/store/database.scm (update-or-insert): Remove extra #:path
parameter.
|
|
|
|
|
|
|
|
|
|
| |
* guix/store/deduplication.scm (get-temp-link): Turn 'args' in the 'catch'
handler into a rest argument.
(deduplicate): Use 'lstat' instead of 'file-is-directory?' to properly
handle symlinks. When iterating over the result of 'scandir', exclude
the ".links" sub-directory.
* tests/store-deduplication.scm ("deduplicate"): Create sub-directories
and call 'deduplicate' directly on STORE.
|
|
|
|
| |
* guix/store/database.scm (register-path): Call 'mkdir-p'.
|
|
|
|
|
|
| |
* guix/store/database.scm (sqlite-register): Add #:schema. Parameterize
'sql-schema' based on this.
(register-path): Add #:schema and pass it to 'sqlite-register'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The next commits make (sqlite3) an indirect dependency of (gnu build
install), which is itself used by (guix scripts system), hence this new
requirement.
* configure.ac: Error out when $guix_cv_have_recent_guile_sqlite3 is
false. Remove HAVE_GUILE_SQLITE3 Automake conditional.
* Makefile.am (MODULES, SCM_TESTS): Remove HAVE_GUILE_SQLITE3 conditions.
* doc/guix.texi (Requirements): Add Guile-SQLite3.
* README: Ditto.
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Add
GUILE-SQLITE3.
[arguments]: In 'wrap-program' phase, take guile-sqlite3 into account.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation of 'read-reference-graph' was good enough
for many use cases, but it discarded the graph structure, which is
useful information in some cases.
* guix/build/store-copy.scm (<store-info>): New record type.
(read-reference-graph): Rewrite to return a list of <store-info>.
(closure-size, populate-store): Adjust accordingly.
* gnu/services/base.scm (references-file): Adjust accordingly.
* gnu/system/vm.scm (system-docker-image): Likewise.
* guix/scripts/pack.scm (squashfs-image, docker-image): Likewise.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Likewise.
|
|
|
|
|
|
|
|
|
| |
* guix/store/database.scm (add-reference-sql): Remove nested SELECT.
(add-references): Expect REFERENCES to be a list of ids.
(sqlite-register): Call 'path-id' for each of REFERENCES and pass it to
'add-references'.
* tests/store-database.scm ("register-path with unregistered references"):
New test.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* gnu/packages/gnupg.scm (libgcrypt)[replacement]: New field.
(libgcrypt/fixed): New package.
|
|
|
|
|
| |
* gnu/packages/python.scm (python-dns-lexicon, python2-dns-lexicon): New
variables.
|
|
|
|
|
| |
* gnu/packages/python.scm (python-pynamecheap, python2-pynamecheap): New
variables.
|
|
|
|
|
| |
* gnu/packages/python.scm (python-tldextract, python2-tldextract): New
variables.
|
|
|
|
|
| |
* gnu/packages/python.scm (python-requests-file, python2-requests-file): New
variables.
|
|
|
|
| |
* gnu/packages/terminals.scm (tmate): New variable.
|
|
|
|
|
| |
* gnu/services/networking.scm (tor-configuration->torrc): Clearly
demarcate auto-generated lines.
|
|
|
|
| |
* gnu/packages/gtk.scm: Fix ‘Coypright’ typo.
|
|
|
|
|
| |
* gnu/packages/gnupg.scm (python-gnupg)[arguments]: Substitute INVOKE
for SYSTEM*.
|
|
|
|
|
| |
* gnu/packages/gnupg.scm (python-gnupg): Update to 0.4.3.
[arguments]: Remove obsolete substitution.
|
|
|
|
|
| |
* gnu/packages/sssd.scm (sssd): Update to 1.16.2.
[native-inputs]: Add libxml2.
|
|
|
|
|
|
| |
* guix/scripts/pull.scm (show-help, %options): Add '--list-generations'.
(display-profile-content, process-query): New procedures.
(guix-pull): Honor '--list-generations'.
|
|
|
|
|
| |
* gnu/packages/bioinformatics.scm (pigx-scrnaseq): Update to 0.0.5.
[inputs]: Add python-magic.
|
|
|
|
| |
* gnu/packages/emacs.scm (emacs-orgalist): Update to 1.8.
|
|
|
|
|
|
|
|
| |
* gnu/packages/emacs.scm (emacspeak): Update to 48.0.
[arguments]: Use 'invoke'. In the 'install' phase, add additional
installation directories and fix the launch script substitution.
[inputs]: Add emacs and perl.
[native-inputs]: Remove emacs-minimal.
|
| |
|
|
|
|
| |
* gnu/packages/cran.scm (r-factoextra)[description]: Fix syntax error.
|
|
|
|
|
| |
* gnu/packages/bioinformatics.scm (r-seurat): Update to 2.3.2.
[propagated-inputs]: Add r-hdf5r.
|
|
|
|
| |
* gnu/packages/bioinformatics.scm (r-s4vectors): Update to 0.18.3.
|
|
|
|
| |
* gnu/packages/bioinformatics.scm (r-biocviews): Update to 1.48.1.
|
|
|
|
| |
* gnu/packages/web.scm (r-rjson): Update to 0.2.20.
|
|
|
|
| |
* gnu/packages/statistics.scm (r-zoo): Update to 1.8-2.
|
|
|
|
|
| |
* gnu/packages/statistics.scm (r-rmarkdown): Update to 1.10.
[propagated-inputs]: Add r-tinytex.
|
|
|
|
| |
* gnu/packages/statistics.scm (r-highr): Update to 0.7.
|
|
|
|
| |
* gnu/packages/statistics.scm (r-stringi): Update to 1.2.3.
|
|
|
|
| |
* gnu/packages/statistics.scm (r-munsell): Update to 0.5.0.
|
|
|
|
| |
* gnu/packages/geo.scm (r-rgooglemaps): Update to 1.4.2.
|
|
|
|
| |
* gnu/packages/cran.scm (r-reticulate): Update to 1.8.
|
|
|
|
| |
* gnu/packages/cran.scm (r-later): Update to 0.7.3.
|
|
|
|
|
|
| |
* gnu/packages/cran.scm (r-radiant-data): Update to 0.9.5.
[propagated-inputs]: Remove r-plyr; add r-glue, r-plotly, r-readxl, r-rlang,
and r-writexl.
|
|
|
|
| |
* gnu/packages/cran.scm (r-cubature): Update to 1.3-13.
|
|
|
|
| |
* gnu/packages/cran.scm (r-extradistr): Update to 1.8.9.
|
|
|
|
|
| |
* gnu/packages/cran.scm (r-statnet-common): Update to 4.1.2.
[propagated-inputs]: Add r-coda.
|