summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
* import: elpa: Remove unused (gnu packages) module.Oleg Pykhalov2018-06-08
| | | | * guix/import/elpa.scm: Remove unused (gnu packages) module.
* config: Remove 'canonicalize-path' call.Ludovic Courtès2018-06-08
| | | | | | | | The call was unnecessary and would cause test failures because 'test-tmp/db' does not exist initially. * guix/config.scm.in (%store-database-directory): Remove 'canonicalize-path' call.
* import: elpa: Add recursive import.Oleg Pykhalov2018-06-08
| | | | | | | | | | * doc/guix.texi (Invoking guix import): Document elpa recursive import. * guix/import/elpa.scm (elpa-package->sexp): Return package and dependencies values. (elpa-guix-name, elpa-recursive-import): New procedures. * guix/scripts/import/elpa.scm (show-help, %options): Add recursive option. (guix-import-elpa): Use 'elpa-recursive-import'.
* import: utils: Add recursive-import.Oleg Pykhalov2018-06-08
| | | | | | | | | * guix/import/cran.scm (cran-guix-name, cran-recursive-import): New procedures. (recursive-import): Remove procedure. * guix/import/utils.scm (guix-name, recursive-import): New procedures. * guix/scripts/import/cran.scm (guix-import-cran): Use 'cran-recursive-import' procedure.
* Merge branch 'master' into core-updatesRicardo Wurmus2018-06-05
|\
| * build-system/r: Update to Bioconductor 3.7.Ricardo Wurmus2018-06-05
| | | | | | | | | | | | This is a follow-up to 41f17554d88795bf35fbfc3e05301a6d2f64cca0. * guix/build-system/r.scm (bioconductor-uri): Update to version 3.7.
* | Merge branch 'master' into core-updatesMark H Weaver2018-06-03
|\|
| * 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".
* | Merge branch 'master' into core-updatesRicardo Wurmus2018-06-02
|\|
| * import: cran: Update to Bioconductor 3.7.Ricardo Wurmus2018-06-02
| | | | | | | | * guix/import/cran.scm (%bioconductor-version): Update to 3.7.
| * 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.
* | Merge branch 'master' into core-updatesLudovic Courtès2018-06-01
|\|
| * 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.
| * Add (guix store deduplication).Caleb Ristvedt2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | * guix/store/database.scm (register-path): Add #:deduplicate? and call 'deduplicate' when it's true. (counting-wrapper-port, nar-sha256): Move to... * guix/store/deduplication.scm: ... here. New file. * tests/store-deduplication.scm: New file. * Makefile.am (STORE_MODULES): Add deduplication.scm. (SCM_TESTS) [HAVE_GUILE_SQLITE3]: Add store-deduplication.scm. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * database: 'register-path' resets timestamps.Ludovic Courtès2018-06-01
| | | | | | | | | | * guix/store/database.scm (reset-timestamps): New procedure. (register-path): Use it.
| * Add (gnu store database).Caleb Ristvedt2018-06-01
| | | | | | | | | | | | | | | | | | | | | | * guix/config.scm.in (%store-database-directory): New variable. * guix/store/database.scm: New file. * tests/store-database.scm: New file. * Makefile.am (STORE_MODULES): New variable. (MODULES, MODULES_NOT_COMPILED): Adjust accordingly. (SCM_TESTS) [HAVE_GUILE_SQLITE3]: Add tests/store-database.scm. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| * 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.
| * profiles: Use 'with-extensions'.Ludovic Courtès2018-06-01
| | | | | | | | | | | | | | * guix/profiles.scm (manual-database)[build]: Use 'with-extensions'. Remove 'add-to-load-path' call. * guix/man-db.scm: Use (gdbm) the normal way; remove 'module-autoload!' call.
| * pack: Use 'with-extensions' when referring to (guix docker).Ludovic Courtès2018-06-01
| | | | | | | | | | | | * guix/docker.scm: Use module (json) the normal way. * guix/scripts/pack.scm (docker-image)[build]: Wrap in 'with-extensions'.
| * gexp: Add 'with-extensions'.Ludovic Courtès2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/gexp.scm (<gexp>)[extensions]: New field. (gexp-attribute): New procedure. (gexp-modules): Write in terms of 'gexp-attribute'. (gexp-extensions): New procedure. (gexp->derivation): Add #:effective-version. [extension-flags]: New procedure. Honor extensions of EXP. (current-imported-extensions): New syntax parameter. (with-extensions): New macro. (gexp): Honor CURRENT-IMPORTED-EXTENSIONS. (compiled-modules): Add #:extensions and honor it. (load-path-expression): Likewise. (gexp->script, gexp->file): Honor extensions. * tests/gexp.scm (%extension-package): New variable. ("gexp-extensions & ungexp") ("gexp-extensions & ungexp-splicing") ("gexp-extensions and literal Scheme object") ("gexp->derivation & with-extensions") ("program-file & with-extensions"): New tests. * doc/guix.texi (G-Expressions): Document 'with-extensions'.
| * gexp: 'compiled-modules' no longer overrides (guix build utils).Ludovic Courtès2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now 'compiled-modules' would override (guix build utils) with its own. Thus, when asked to build a different (guix build utils), via #:module-path, it would fail badly because a (guix build utils) module was already loaded and possibly incompatible with the new one. This happened when running 'guix pull --branch=core-updates' from current master: in 'core-updates', (guix build utils) exports 'ignore-error?' but in 'master' it does not. Thus, 'guix pull' would fail with: no binding `invoke-error?' in module (guix build utils) builder for `/gnu/store/…-module-import-compiled.drv' failed with exit code 1 cannot build derivation `/gnu/store/…-compute-guix-derivation.drv': 1 dependencies couldn't be built This patch fixes it. * guix/gexp.scm (compiled-modules)[build-utils-hack?]: New variable. [build]: Load MODULES/build/utils.scm when it exists.
| * scripts: system: Sort profile generations in reverse order.Mathieu Othacehe2018-06-01
| | | | | | | | | | | | * guix/scripts/system.scm (profile-boot-parameters): Reverse generation-numbers list. This allows old generations to be listed from most recent to oldest in bootloaders configuration files.
| * records: Make a couple of procedures available at expansion time.Ludovic Courtès2018-05-31
| | | | | | | | | | * guix/records.scm (current-abi-identifier, abi-check): Wrap in 'eval-when'.
| * 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'.
* | build-system/r: Use invoke.Ricardo Wurmus2018-05-31
| | | | | | | | | | | | * guix/build/r-build-system.scm (invoke-r): Use invoke. (pipe-to-r): Raise invoke-error on non-zero return value. (check): Unconditionally return #t.
* | Merge branch 'master' into core-updatesRicardo Wurmus2018-05-29
|\|
| * download: Remove unused procedure.Ludovic Courtès2018-05-29
| | | | | | | | * guix/download.scm (gnutls-package): Remove.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-28
|\|
| * pack: Add support for squashfs images.Ricardo Wurmus2018-05-28
| | | | | | | | | | | | | | * guix/scripts/pack.scm (%formats): Add "squashfs" format. (guix-pack): Adjust "archiver" dependent on pack-format. (squashfs-image): New procedure. * doc/guix.texi (Invoking guix pack): Document it.
| * pack: Rename "tar" to "archiver".Ricardo Wurmus2018-05-28
| | | | | | | | | | | | * guix/scripts/pack.scm (self-contained-tarball, docker-image): Accept "archiver" argument; remove "tar" argument. (guix-pack): Invoke "build-image" with "archiver" argument.
| * file-systems: Remove 'title' field and add <file-system-label>.Ludovic Courtès2018-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'title' field was easily overlooked and was an endless source of confusion. Now, the value of the 'device' field is self-contained. * gnu/system/file-systems.scm (<file-system>): Change constructor name to '%file-system'. [title]: Remove. (<file-system-label>): New record type with printer. (report-deprecation, device-expression) (process-file-system-declaration, file-system): New macros. (file-system-title): New procedure. (file-system->spec, spec->file-system): Adjust to handle <file-system-label>. * gnu/system.scm (bootable-kernel-arguments): Add case for 'file-system-label?'. (read-boot-parameters): Likewise. (mapped-device-user): Avoid 'file-system-title'. (fs->boot-device): Remove. (operating-system-boot-parameters): Use 'file-system-device' instead of 'fs->boot-device'. (device->sexp): Add case for 'file-system-label?'. * gnu/bootloader/grub.scm (grub-root-search): Add case for 'file-system-label?'. * gnu/system/examples/bare-bones.tmpl, gnu/system/examples/beaglebone-black.tmpl, gnu/system/examples/lightweight-desktop.tmpl, gnu/system/examples/vm-image.tmpl: Remove uses of 'title'. * gnu/system/vm.scm (virtualized-operating-system): Remove uses of 'file-system-title'. * guix/scripts/system.scm (check-file-system-availability): Likewise, and adjust fix-it hint. (check-initrd-modules)[file-system-/dev]: Likewise. * gnu/build/file-systems.scm (canonicalize-device-spec): Remove 'title' parameter. [canonical-title]: Remove. Match on SPEC's type rather than on CANONICAL-TITLE. (mount-file-system): Adjust caller. * gnu/build/linux-boot.scm (boot-system): Interpret ROOT here. * gnu/services/base.scm (file-system->fstab-entry): Remove use of 'file-system-title'. * doc/guix.texi (File Systems): Remove documentation of the 'title' field. Rewrite documentation of 'device' and document 'file-system-label'.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-27
|\|
| * http-client: Send redirection messages to stderr.Marius Bakke2018-05-26
| | | | | | | | | | * guix/http-client.scm (http-fetch): Use CURRENT-ERROR-PORT instead of default output.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-24
|\|
| * records: Insert record type ABI checks in constructors.Ludovic Courtès2018-05-23
| | | | | | | | | | | | | | | | | | | | | | * guix/records.scm (print-record-abi-mismatch-error): New procedure. <top level>: Add 'set-exception-printer!' call. (current-abi-identifier, abi-check): New procedures. (make-syntactic-constructor): Add #:abi-cookie parameter. Insert calls to 'abi-check'. (define-record-type*)[compute-abi-cookie]: New procedure. Use it and emit a definition of the 'current-abi-identifier' for TYPE. * tests/records.scm ("ABI checks"): New test.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-21
|\|
| * profiles: Add hook to generate "gschemas.compiled".Danny Milosavljevic2018-05-21
| | | | | | | | | | * guix/profiles.scm (glib-schemas): New procedure. (%default-profile-hooks): Add it.
| * union: Do not warn about harmless collisions.Ludovic Courtès2018-05-17
| | | | | | | | | | | | | | | | | | | | | | | | Until now we'd get pointless messages like: warning: collision encountered: /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache /gnu/store/…-inkscape-0.92.3/share/icons/hicolor/icon-theme.cache warning: choosing /gnu/store/…-gtk-icon-themes/share/icons/hicolor/icon-theme.cache * guix/build/union.scm (%harmless-collisions): New variable. (warn-about-collision): Honor it.
* | Merge branch 'master' into core-updatesMark H Weaver2018-05-17
|\|
| * gexp: Disable deprecation warnings for 'imported-modules'.Ludovic Courtès2018-05-15
| | | | | | | | | | | | | | | | | | | | | | | | Fixes <https://bugs.gnu.org/31450>. Reported by Martin Castillo <castilma@uni-bremen.de>. * guix/gexp.scm (gexp->derivation): Pass #:deprecation-warnings to 'imported-modules'. (imported-files): Add #:deprecation-warnings and pass #:env-vars to 'gexp->derivation'. (imported-modules): Add #:deprecation-warnings and pass it to 'imported-files'.
| * pack: Link top-level entries of wrapped packages.Ludovic Courtès2018-05-14
| | | | | | | | | | | | | | | | | | | | | | | | Previously things like: guix pack -R guile guile-json would lead to a profile without Guile-JSON, and to an 'etc/profile' that does not define 'GUILE_LOAD_PATH'. * guix/scripts/pack.scm (wrapped-package)[build]: Link top-level entries of PACKAGE into OUTPUT.
| * utils: Add 'version-prefix?'.Ludovic Courtès2018-05-13
| | | | | | | | | | * guix/utils.scm (version-prefix?): New procedure. * tests/utils.scm ("version-prefix?"): New test.
| * pack: 'guix pack -S xxx' no longer adds entries twice to the tarball.Ludovic Courtès2018-05-11
| | | | | | | | | | | | | | | | | | * guix/scripts/pack.scm (self-contained-tarball)[build](symlink->directives): Do not add a 'directory' directive for "/". Previously, as soon as we were using '-S /bin=bin' or similar, we would add every entry a second time in the tarball; this would translate as hard links in the tarball, which tar < 1.30 sometimes fails to extract. Pass symlinks defined in DIRECTIVES to 'tar'.
| * guix: Fix typo.Julien Lepiller2018-05-11
| | | | | | | | * guix/scripts/lint.scm: Fix typo.
| * gnu: android-make-stub: Update to 0.6.0.Danny Milosavljevic2018-05-10
| | | | | | | | | | | | * gnu/packages/android.scm (android-make-stub): Update to 0.6.0. * guix/build-system/android-ndk.scm (android-ndk-build): Modify. (lower): Modify.
| * pack: Add '--relocatable'.Ludovic Courtès2018-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/aux-files/run-in-namespace.c: New file. * Makefile.am (AUX_FILES): Add it. * guix/scripts/pack.scm (<c-compiler>): New record type. (c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures. (self-contained-tarball): Use 'relative-file-name' for the SOURCE -> TARGET symlink. (docker-image): Add 'defmod' to please Geiser. (wrapped-package, map-manifest-entries): New procedures. (%options, show-help): Add --relocatable. (guix-pack): Honor it.
| * search-paths: Add 'set-search-paths'.Ludovic Courtès2018-05-10
| | | | | | | | * guix/search-paths.scm (set-search-paths): New procedure.