summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
* Merge branch 'master' into core-updatesMark H Weaver2015-10-07
|\
| * publish: Fix file descriptor leak.Ludovic Courtès2015-10-06
| | | | | | | | | | | | | | | | 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.
| * import: snix: Adjust names of license attributes.Ludovic Courtès2015-10-06
| | | | | | | | | | * guix/import/snix.scm (license-variable): Adjust names to current Nixpkgs.
| * utils: Remove Nixpkgs helpers.Ludovic Courtès2015-10-06
| | | | | | | | | | | | | | | | | | | | | | * 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.
| * import: pypi: Remove unused procedure.Ludovic Courtès2015-10-05
| | | | | | | | * guix/import/pypi.scm (join): Remove.
| * download: Check whether HORIZONTAL ELLIPSIS can be encoded.Ludovic Courtès2015-10-01
| | | | | | | | | | * guix/build/download.scm (ellipsis): New procedure. (store-path-abbreviation): Use it.
* | packages: Use locales from the /X.Y sub-directory of the locale package.Ludovic Courtès2015-10-04
| | | | | | | | | | | | | | This is a followup to commit f2d7bbb. * guix/packages.scm (patch-and-repack)[build]: Append "/X.Y" to LOCPATH.
* | Use "normalized codesets" everywhere.Ludovic Courtès2015-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In other words, change "xx_YY.UTF-8" to "xx_YY.utf8". * guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of "en_US.UTF-8". * guix/packages.scm (patch-and-repack): Likewise. * guix/build/gnu-build-system.scm (install-locale): Likewise. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise. * gnu/packages/python.scm (python-ipython): Likewise. * gnu/packages/gawk.scm (gawk): Likewise. * build-aux/hydra/demo-os.scm: Likewise. * gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove 'change-locale' phase.
* | gnu: glibc: Look for locale data in versioned sub-directories.Ludovic Courtès2015-10-03
| | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (glibc)[native-search-paths]: Add 'lib/locale/VERSION' for 'GUIX_LOCPATH'. (glibc-locales, glibc-utf8-locales): Write to a VERSION sub-directory. * guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value accordingly.
* | utils: Add 'every*'.Ludovic Courtès2015-10-03
|/ | | | | * guix/build/gnu-build-system.scm (every*): Move to... * guix/build/utils.scm (every*): ... here. New procedure.
* guix gc: Add '--list-failures' and '--clear-failures'.Ludovic Courtès2015-09-28
| | | | | | | | | | 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.
* store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs.Ludovic Courtès2015-09-28
| | | | | | | | | 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.
* tests: 'open-connection-for-tests' takes an optional parameter.Ludovic Courtès2015-09-28
| | | | | * guix/tests.scm (open-connection-for-tests): Add optional FILE parameter; pass it to 'open-connection'.
* lint: Fix 'check-texinfo-markup'.Mathieu Lirzin2015-09-28
| | | | | | | 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.
* 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'.Mark H Weaver2015-09-23
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | 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'.宋文武2015-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | packages: Build tarballs in sorted order even if tar doesn't support it.Mark H Weaver2015-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
| * | | | utils: find-files: Add DIRECTORIES? and FAIL-ON-ERROR? arguments.Mark H Weaver2015-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (find-files): Add DIRECTORIES? and FAIL-ON-ERROR? keyword arguments.
| * | | | packages: Define '%hurd-systems'.Ludovic Courtès2015-09-04
| | | | | | | | | | | | | | | | | | | | * guix/packages.scm (%hurd-systems): New variable.
| * | | | Build tarballs with deterministic file ordering.Mark H Weaver2015-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
| * | | | packages: Add 'armhf-linux' to '%hydra-supported-systems'.Mark H Weaver2015-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (%hydra-supported-systems): Do not remove 'armhf-linux' from it. It is now equal to '%supported-systems'.
| * | | | gexp: Remove duplicate 'mkdir-p' definition.Ludovic Courtès2015-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | utils: Move 'package-name->name+version' to (guix build utils).Ludovic Courtès2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | utils: Add 'strip-store-file-name'.Ludovic Courtès2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
| * | | | build-system/gnu: Use monotic time to measure elapsed time.Ludovic Courtès2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | | | utils: Add 'install-file'.Ludovic Courtès2015-08-29
| | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (install-file): New procedure.
* | | | | lint: Improve 'check-texinfo-markup'.Mathieu Lirzin2015-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | | | http-client: Backport Guile fix for 'read-chunk-header'.Ludovic Courtès2015-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | offload: Use gzip instead of xz for compression on the master.Ludovic Courtès2015-09-25
| | | | | | | | | | | | | | | | | | | | * guix/scripts/offload.scm (send-files): Use gzip --fast instead of xz.
* | | | | utils: Add #:options parameter for compression output ports.Ludovic Courtès2015-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/utils.scm (compressed-output-port, call-with-compressed-output-port): Add #:options parameter and honor it.
* | | | | lint: Accept '`' character.Mathieu Lirzin2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/lint.scm (properly-starts-sentence?): Match Texinfo highlighting commands as a sentence start.
* | | | | lint: Check non-translated package descriptions.Mathieu Lirzin2015-09-24
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | * guix/ui.scm (texi->plain-text): Export. * guix/scripts/lint.scm (check-description-style): Use it instead of 'package-description-string'.
* | | | profiles: Make profile-specific derivations non-substitutable.Ludovic Courtès2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | ui: Gracefully handle Unicode description strings.Ludovic Courtès2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | download: Don't abbreviate things that are not store items.Ludovic Courtès2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | download: Fix some minor progress-logging regressions.Steve Sprang2015-09-23
| |_|/ |/| | | | | | | | | | | | | | | | | | | | * 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.
* | | scripts: Add 'build-package'.Alex Kost2015-09-22
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | | licenses: Add Zope Public License.Ricardo Wurmus2015-09-22
| | | | | | | | | | | | * guix/licenses.scm (zpl2.1): New variable.
* | | Update CRAN mirrors.Ricardo Wurmus2015-09-21
| | | | | | | | | | | | * guix/download.scm (%mirrors): Update mirror list for CRAN.
* | | import: cran-sxml->sexp: Use cran-uri in package expression.Ricardo Wurmus2015-09-21
| | | | | | | | | | | | | | | * guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in the generated package expression.
* | | build: Add cran-uri procedure.Ricardo Wurmus2015-09-21
| | | | | | | | | | | | * guix/build-system/r.scm (cran-uri): New procedure.
* | | lint: Report lonely parentheses.Ludovic Courtès2015-09-18
| | | | | | | | | | | | | | | | | | | | | * 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.
* | | store: Add 'set-build-options*'.Alex Kost2015-09-18
| | | | | | | | | | | | | | | | | | Suggested by: Ludovic Courtès <ludo@gnu.org>. * guix/store.scm (set-build-options*): New procedure.
* | | ui: Add 'show-derivation-outputs'.Alex Kost2015-09-18
| | | | | | | | | | | | | | | * guix/scripts/build.scm (guix-build): Extract code from here and move to... * guix/ui.scm (show-derivation-outputs): ... here. New procedure.
* | | Add (guix scripts).Alex Kost2015-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm: Add missing copyright lines. (args-fold*, environment-build-options, %default-argument-handler, parse-command-line): Move to ... * guix/scripts.scm: ...here. New file. * guix/scripts/archive.scm: Use it. * guix/scripts/build.scm: Likewise. * guix/scripts/download.scm: Likewise. * guix/scripts/edit.scm: Likewise. * guix/scripts/environment.scm: Likewise. * guix/scripts/gc.scm: Likewise. * guix/scripts/graph.scm: Likewise. * guix/scripts/hash.scm: Likewise. * guix/scripts/import/cpan.scm: Likewise. * guix/scripts/import/cran.scm: Likewise. * guix/scripts/import/elpa.scm: Likewise. * guix/scripts/import/gem.scm: Likewise. * guix/scripts/import/gnu.scm: Likewise. * guix/scripts/import/hackage.scm: Likewise. * guix/scripts/import/nix.scm: Likewise. * guix/scripts/import/pypi.scm: Likewise. * guix/scripts/lint.scm: Likewise. * guix/scripts/package.scm: Likewise. * guix/scripts/publish.scm: Likewise. * guix/scripts/pull.scm: Likewise. * guix/scripts/refresh.scm: Likewise. * guix/scripts/size.scm: Likewise. * guix/scripts/system.scm: Likewise. * tests/ui.scm (with-environment-variable, "parse-command-line", "parse-command-line and --no options"): Move to ... * tests/scripts.scm: ...here. New file. * Makefile.am (MODULES): Add guix/scripts.scm. (SCM_TESTS): Add tests/scripts.scm. * po/guix/POTFILES.in: Add guix/scripts.scm.
* | | download: Only show hours in the elapsed time if necessary.Steve Sprang2015-09-17
| | | | | | | | | | | | | | | | | | | | | * guix/build/download.scm (seconds->string): Conditionally include hours in timestamp. Signed-off-by: Ludovic Courtès <ludo@gnu.org>