aboutsummaryrefslogtreecommitdiff
path: root/guix
Commit message (Expand)AuthorAge
* guix system: Add '--derivation'.•••* guix/scripts/system.scm (perform-action): Add #:derivations-only? parameter and honor it. (show-help, %options): Add '--derivation'. (guix-system): Pass #:derivations-only? to 'perform-action'. * tests/guix-system.sh: Test it. * doc/guix.texi (Invoking guix system): Document it. Ludovic Courtès2015-10-10
* gexp: Add 'scheme-file'.•••* guix/gexp.scm (<scheme-file>): New record type. (scheme-file, scheme-file-compiler): New procedures. * tests/gexp.scm ("scheme-file"): New test. * doc/guix.texi (G-Expressions): Document 'scheme-file'. Ludovic Courtès2015-10-10
* gexp: Add 'mixed-text-file'.•••* guix/gexp.scm (mixed-text-file): New procedure. * tests/gexp.scm ("mixed-text-file"): New test. * doc/guix.texi (G-Expressions): Document it. Ludovic Courtès2015-10-10
* gexp: Add 'program-file'.•••* guix/gexp.scm (<program-file>): New record type. (program-file, program-file-compiler): New procedures. * tests/gexp.scm ("program-file"): New test. * doc/guix.texi (G-Expressions): Document it. Ludovic Courtès2015-10-10
* gexp: Add 'computed-file'.•••* guix/gexp.scm (<computed-file>): New record type. (computed-file, computed-file-compiler): New procedures. * tests/gexp.scm ("lower-object, computed-file"): New test. * doc/guix.texi (G-Expressions): Document 'computed-file'. Ludovic Courtès2015-10-10
* scripts: environment: Use system* instead of system.•••This allows for direct program invokation without needing a shell to act as a command interpreter. * guix/scripts/environment.scm (%default-shell): New variable. (show-help): Adjust description. Remove '--exec' reference. (%default-options): Use '%default-shell'. (%options): Adjust '--exec' to run command via the default shell. (parse-args): New procedure. (guix-environment): Use 'parse-args'. Use 'system*' instead of 'system'. * tests/guix-environment.sh: Add test for '--' command invokation. * doc/guix.texi ("Invoking guix environment"): Use new syntax. Remove '--exec' documentation. David Thompson2015-10-09
* utils: Add split procedure.•••* guix/utils.scm (split): New procedure. * tests/utils.scm: Add tests. David Thompson2015-10-09
* lint: Export 'run-checkers'.•••* guix/scripts/lint.scm (run-checkers): Export. Make 'checkers' argument optional. Alex Kost2015-10-09
* publish: Fix file descriptor leak.•••A client closing the connection while reading from a /nar URL would leave an open file descriptor in the server. This patch fixes it. * guix/scripts/publish.scm (swallow-EPIPE): New macro. (http-write): Use it around 'write-file' call. Ludovic Courtès2015-10-06
* import: snix: Adjust names of license attributes.•••* guix/import/snix.scm (license-variable): Adjust names to current Nixpkgs. Ludovic Courtès2015-10-06
* utils: Remove Nixpkgs helpers.•••* guix/config.scm.in (%nixpkgs): Remove. * guix/utils.scm (%nixpkgs-directory, nixpkgs-derivation, nixpkgs-derivation*): Remove. * test-env.in: Export 'NIXPKGS'. * tests/derivations.scm (%coreutils): Remove use of 'nixpkgs-derivation'. * tests/snix.scm (%nixpkgs-directory): New variable. Adjust users accordingly. Ludovic Courtès2015-10-06
* import: pypi: Remove unused procedure.•••* guix/import/pypi.scm (join): Remove. Ludovic Courtès2015-10-05
* download: Check whether HORIZONTAL ELLIPSIS can be encoded.•••* guix/build/download.scm (ellipsis): New procedure. (store-path-abbreviation): Use it. Ludovic Courtès2015-10-01
* guix gc: Add '--list-failures' and '--clear-failures'.•••Suggested by Mark H Weaver <mhw@netris.org>. * guix/scripts/gc.scm (show-help, %options): Add --list-failures and --clear-failures. (guix-gc): Honor them. * doc/guix.texi (Invoking guix gc): Document them. (Invoking guix-daemon): Mention them. Ludovic Courtès2015-09-28
* store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs.•••Suggested by Mark H Weaver <mhw@netris.org>. * guix/store.scm (query-failed-paths, clear-failed-paths): New procedures. * tests/guix-daemon.sh: Add test with daemon started with --cache-failures. Ludovic Courtès2015-09-28
* tests: 'open-connection-for-tests' takes an optional parameter.•••* guix/tests.scm (open-connection-for-tests): Add optional FILE parameter; pass it to 'open-connection'. Ludovic Courtès2015-09-28
* lint: Fix 'check-texinfo-markup'.•••Fixes a regression introduced in 5d8d8f3. * guix/scripts/lint.scm (check-description-style): When no exception is thrown in 'check-texinfo-markup', return the rendered description. Mathieu Lirzin2015-09-28
* Merge branch 'core-updates'Ludovic Courtès2015-09-26
|\
| * Merge branch 'master' into core-updatesLudovic Courtès2015-09-24
| |\
| * | emacs-build-system: Fix 'package-name-version->elpa-name-version'.•••Fixes a regression introduced in b7c7c03eb5e37fc3455e4e17b0898ffc4bca29c3. * guix/build/emacs-build-system.scm (package-name-version->elpa-name-version): Remove unused 'name' binding. Do not abuse 'strip-store-file-name' to remove the "emacs-" prefix, which worked before b7c7c03eb5 but not after. Mark H Weaver2015-09-23
| * | Merge branch 'master' into core-updatesMark H Weaver2015-09-22
| |\ \
| * \ \ Merge branch 'master' into core-updatesLudovic Courtès2015-09-13
| |\ \ \
| * | | | build-system/glib-or-gtk: Don't generate 'icon-theme.cache'.•••* guix/build-system/glib-or-gtk.scm (default-gtk+): Remove. (lower): Adjust accordingly. * guix/build/glib-or-gtk-build-system.scm (generate-icon-cache): Remove. (%standard-phases): Remove 'glib-or-gtk-icon-cache' phase. 宋文武2015-09-11
| * | | | packages: Build tarballs in sorted order even if tar doesn't support it.•••This is a followup to commit 92226a470ddc980e54863632e5b179bf40444bd7. * guix/packages.scm (patch-and-repack)[build]: Determine if tar supports the "--sort=name" option using a run-time test. If not supported, generate the sorted file list with 'find-files' and pass it to tar using "--files-from". Mark H Weaver2015-09-06
| * | | | utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.•••* guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR? keyword arguments. Mark H Weaver2015-09-06
| * | | | packages: Define '%hurd-systems'.•••* guix/packages.scm (%hurd-systems): New variable. Ludovic Courtès2015-09-04
| * | | | Build tarballs with deterministic file ordering.•••* guix/packages.scm (patch-and-repack)[build], gnu/system/install.scm (self-contained-tarball)[build], gnu/packages/make-bootstrap.scm (tarball-package), gnu/packages/admin.scm (isc-dhcp), gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'. Mark H Weaver2015-09-03
| * | | | packages: Add 'armhf-linux' to '%hydra-supported-systems'.•••* guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux' from it. It is now equal to '%supported-systems'. Mark H Weaver2015-09-02
| * | | | gexp: Remove duplicate 'mkdir-p' definition.•••* guix/gexp.scm (%mkdir-p-definition): Remove. (%utils-module): New variable. (imported-files, compiled-modules): Have gexp load %UTILS-MODULE instead of using %MKDIR-P-DEFINITION. Ludovic Courtès2015-09-02
| * | | | utils: Move 'package-name->name+version' to (guix build utils).•••* guix/utils.scm (package-name->name+version): Move to... * guix/build/utils.scm (package-name->name+version): ... here. New procedure. * guix/build/emacs-build-system.scm (package-name->name+version): Remove. Ludovic Courtès2015-08-30
| * | | | utils: Add 'strip-store-file-name'.•••* guix/build/utils.scm (strip-store-file-name): New procedure. * guix/build/emacs-build-system.scm (store-directory->name-version): Remove. Update callers to use 'strip-store-file-name'. * gnu/packages/gcc.scm (make-libstdc++-doc)[arguments]: Use 'strip-store-file-name' instead of 'string-drop'. Ludovic Courtès2015-08-30
| * | | | build-system/gnu: Use monotic time to measure elapsed time.•••* guix/build/gnu-build-system.scm (gnu-build)[elapsed-time]: New procedure. Use it, and use (current-time time-monotonic) instead of (gettimeofday). Show one digit after the comma for the elapsed time. Ludovic Courtès2015-08-30
| * | | | utils: Add 'install-file'.•••* guix/build/utils.scm (install-file): New procedure. Ludovic Courtès2015-08-29
* | | | | lint: Improve 'check-texinfo-markup'.•••* guix/scripts/lint.scm (check-description-style): Set 'field' parameter when emitting a warning in 'check-texinfo-markup'. Catch any error that may occur in during the 'texi->plain-text' conversion. This is a followup to commit 2748ee3. Mathieu Lirzin2015-09-26
* | | | | http-client: Backport Guile fix for 'read-chunk-header'.•••Fixes the wrong-type-arg exception initially reported at <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19976#5> by Ricardo Wurmus <rekado@elephly.net>. * guix/http-client.scm (read-chunk-header): Backport Guile commit 53b8d5f. Ludovic Courtès2015-09-26
* | | | | offload: Use gzip instead of xz for compression on the master.•••* guix/scripts/offload.scm (send-files): Use gzip --fast instead of xz. Ludovic Courtès2015-09-25
* | | | | utils: Add #:options parameter for compression output ports.•••* guix/utils.scm (compressed-output-port, call-with-compressed-output-port): Add #:options parameter and honor it. Ludovic Courtès2015-09-25
* | | | | lint: Accept '`' character.•••* guix/scripts/lint.scm (properly-starts-sentence?): Match Texinfo highlighting commands as a sentence start. Mathieu Lirzin2015-09-24
* | | | | lint: Check non-translated package descriptions.•••* guix/ui.scm (texi->plain-text): Export. * guix/scripts/lint.scm (check-description-style): Use it instead of 'package-description-string'. Mathieu Lirzin2015-09-24
| |_|_|/ |/| | |
* | | | profiles: Make profile-specific derivations non-substitutable.•••This avoids gratuitous queries of the substituter. * guix/profiles.scm (ghc-package-cache-file): Pass #:substitutable? #f to 'gexp->derivation'. (ca-certificate-bundle): Likewise. (gtk-icon-themes): Likewise. (profile-derivation): Likewise. (info-dir-file): Likewise, plus #:local-build? #t. Ludovic Courtès2015-09-24
* | | | ui: Gracefully handle Unicode description strings.•••Fixes <http://bugs.gnu.org/21536>. Reported by Alex Kost <alezost@gmail.com>. * guix/ui.scm (texi->plain-text): Wrap body in 'with-fluids'. * tests/ui.scm ("package-description-string vs. Unicode"): New test. Ludovic Courtès2015-09-24
* | | | download: Don't abbreviate things that are not store items.•••Fixes a regression introduced in a8be7b9a. * guix/build/download.scm (store-path-abbreviation): Return STORE-PATH if it's not an actual store path. Fixes an out-of-range exception when running tests/substitute.scm and tests/store.scm. Ludovic Courtès2015-09-24
* | | | download: Fix some minor progress-logging regressions.•••* guix/build/download.scm (string-pad-middle): Allow resulting padded string to overflow. (store-url-abbreviation): Remove unnecessary procedure. (progress-proc): Use BASENAME as default for parameter 'abbreviation'. (url-fetch): Display extra newlines for readability. Steve Sprang2015-09-23
| |_|/ |/| |
* | | scripts: Add 'build-package'.•••* guix/scripts/system.scm (maybe-build): Move to ... * guix/scripts.scm: ...here. (build-package): New procedure. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Alex Kost2015-09-22
* | | licenses: Add Zope Public License.•••* guix/licenses.scm (zpl2.1): New variable. Ricardo Wurmus2015-09-22
* | | Update CRAN mirrors.•••* guix/download.scm (%mirrors): Update mirror list for CRAN. Ricardo Wurmus2015-09-21
* | | import: cran-sxml->sexp: Use cran-uri in package expression.•••* guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in the generated package expression. Ricardo Wurmus2015-09-21
* | | build: Add cran-uri procedure.•••* guix/build-system/r.scm (cran-uri): New procedure. Ricardo Wurmus2015-09-21
* | | lint: Report lonely parentheses.•••* guix/scripts/lint.scm (%hanging-paren-rx): New variable. (report-lone-parentheses): New procedure. (%formatting-reporters): Use it. * tests/lint.scm ("formatting: lonely parentheses"): New test. Ludovic Courtès2015-09-18
* | | store: Add 'set-build-options*'.•••Suggested by: Ludovic Courtès <ludo@gnu.org>. * guix/store.scm (set-build-options*): New procedure. Alex Kost2015-09-18