Skip to content
Snippets Groups Projects
  1. Sep 23, 2018
  2. Sep 20, 2018
    • Arun Isaac's avatar
      gnu: services: Add iptables service. · 9926b8f8
      Arun Isaac authored
      * gnu/services/networking.scm (<iptables-configuration>): New record type.
      (iptables-service-type): New variable.
      * gnu/tests/networking.scm (run-iptables-test): New procedure.
      (%test-iptables): New variable.
      * doc/guix.texi (Networking Services): Document it.
      9926b8f8
  3. Sep 16, 2018
    • Ludovic Courtès's avatar
      gnupg: Use 'gpgv' and keybox files; adjust 'guix refresh' accordingly. · b9e1fddf
      Ludovic Courtès authored
      * guix/gnupg.scm (%gpgv-command, current-keyring): New variables
      (gnupg-verify): Add optional 'keyring' parameter.  Use 'gpgv' instead of
      'gpg' and pass it '--keyring'.
      (gnupg-receive-keys): Add optional 'keyring' parameter and honor it.
      (gnupg-verify*): Add #:keyring and honor it.
      * guix/scripts/refresh.scm (%options, show-help): Add '--keyring'.
      (guix-refresh): Parameterize CURRENT-KEYRING.
      * doc/guix.texi (Invoking guix refresh): Document '--keyring' and the
      keybox format.
      b9e1fddf
    • Ludovic Courtès's avatar
      graph: Add '--system'. · ebbfc59c
      Ludovic Courtès authored
      * guix/scripts/graph.scm (%options, show-help): Add '--system'.
      (%default-options): Add 'system'.
      (guix-graph): Pass #:system to 'run-with-store'.
      ebbfc59c
  4. Sep 13, 2018
    • Clément Lassieur's avatar
      hydra: Add support for manifests. · 88bfabf1
      Clément Lassieur authored
      * build-aux/hydra/gnu-system.scm (arguments->manifests, manifests->packages):
      New procedures.
      (hydra-jobs): Add a "manifests" subset.
      * doc/guix.texi (Continuous Integration): Update accordingly.
      88bfabf1
  5. Sep 07, 2018
    • Ludovic Courtès's avatar
      Add 'guix describe'. · bd747018
      Ludovic Courtès authored
      * guix/scripts/describe.scm: New file.
      * Makefile.am (MODULES): Add it.
      (SH_TESTS): Add tests/guix-describe.sh.
      * po/guix/POTFILES.in: Add it.
      * guix/scripts/pull.scm (display-profile-content): Export.
      * guix/describe.scm (current-profile, current-profile-entries): Export.
      * tests/guix-describe.sh: New file.
      * doc/guix.texi (Features): Mention 'guix pull' and provenance tracking.
      (Invoking guix pull): Link to 'guix describe'.
      (Channels): Likewise.
      (Invoking guix describe): New node.
      bd747018
    • Ludovic Courtès's avatar
      pull: Add '--profile'. · ee94cfeb
      Ludovic Courtès authored
      * guix/scripts/pull.scm (show-help, %options): Add '--profile'.
      (build-and-install): Change 'config-dir' argument to 'profile'.
      (guix-pull): Honor '--profile'.
      * doc/guix.texi (Invoking guix pull): Document it.
      ee94cfeb
  6. Sep 06, 2018
    • Ludovic Courtès's avatar
      doc: Update hpcguix-web configuration documentation. · fd3a6433
      Ludovic Courtès authored
      * doc/guix.texi (Web Services): Document 'channels' and
      'package-list-expiration'.
      fd3a6433
    • Ludovic Courtès's avatar
      services: hpcguix-web: Set SSL_CERT_DIR. · 7df94565
      Ludovic Courtès authored
      Previously Git pulls over HTTPS would fail with:
      
        guix/git.scm:132:7: In procedure update-cached-checkout:
        Throw to key `git-error' with args `(#<<git-error> code: -17 message: "the SSL certificate is invalid" class: 16>)'.
      
      * gnu/services/web.scm (hpcguix-web-shepherd-service): Pass
      "SSL_CERT_DIR=/etc/ssl/certs".
      * doc/guix.texi (Web Services): Mention certificates.
      7df94565
  7. Sep 04, 2018
    • Ludovic Courtès's avatar
      Switch to Guile-Gcrypt. · ca719424
      Ludovic Courtès authored
      This removes (guix hash) and (guix pk-crypto), which now live as part of
      Guile-Gcrypt (version 0.1.0.)
      
      * guix/gcrypt.scm, guix/hash.scm, guix/pk-crypto.scm,
      tests/hash.scm, tests/pk-crypto.scm: Remove.
      * configure.ac: Test for Guile-Gcrypt.  Remove LIBGCRYPT and
      LIBGCRYPT_LIBDIR assignments.
      * m4/guix.m4 (GUIX_ASSERT_LIBGCRYPT_USABLE): Remove.
      * README: Add Guile-Gcrypt to the dependencies; move libgcrypt as
      "required unless --disable-daemon".
      * doc/guix.texi (Requirements): Likewise.
      * gnu/packages/bash.scm, guix/derivations.scm, guix/docker.scm,
      guix/git.scm, guix/http-client.scm, guix/import/cpan.scm,
      guix/import/cran.scm, guix/import/crate.scm, guix/import/elpa.scm,
      guix/import/gnu.scm, guix/import/hackage.scm,
      guix/import/texlive.scm, guix/import/utils.scm, guix/nar.scm,
      guix/pki.scm, guix/scripts/archive.scm,
      guix/scripts/authenticate.scm, guix/scripts/download.scm,
      guix/scripts/hash.scm, guix/scripts/pack.scm,
      guix/scripts/publish.scm, guix/scripts/refresh.scm,
      guix/scripts/substitute.scm, guix/store.scm,
      guix/store/deduplication.scm, guix/tests.scm, tests/base32.scm,
      tests/builders.scm, tests/challenge.scm, tests/cpan.scm,
      tests/crate.scm, tests/derivations.scm, tests/gem.scm,
      tests/nar.scm, tests/opam.scm, tests/pki.scm,
      tests/publish.scm, tests/pypi.scm, tests/store-deduplication.scm,
      tests/store.scm, tests/substitute.scm: Adjust imports.
      * gnu/system/vm.scm: Likewise.
      (guile-sqlite3&co): Rename to...
      (gcrypt-sqlite3&co): ... this.  Add GUILE-GCRYPT.
      (expression->derivation-in-linux-vm)[config]: Remove.
      (iso9660-image)[config]: Remove.
      (qemu-image)[config]: Remove.
      (system-docker-image)[config]: Remove.
      * guix/scripts/pack.scm: Adjust imports.
      (guile-sqlite3&co): Rename to...
      (gcrypt-sqlite3&co): ... this.  Add GUILE-GCRYPT.
      (self-contained-tarball)[build]: Call 'make-config.scm' without
       #:libgcrypt argument.
      (squashfs-image)[libgcrypt]: Remove.
      [build]: Call 'make-config.scm' without #:libgcrypt.
      (docker-image)[config, json]: Remove.
      [build]: Add GUILE-GCRYPT to the extensions  Remove (guix config) from
      the imported modules.
      * guix/self.scm (specification->package): Remove "libgcrypt", add
      "guile-gcrypt".
      (compiled-guix): Remove #:libgcrypt.
      [guile-gcrypt]: New variable.
      [dependencies]: Add it.
      [*core-modules*]: Remove #:libgcrypt from 'make-config.scm' call.
      Add #:extensions.
      [*config*]: Remove #:libgcrypt from 'make-config.scm' call.
      (%dependency-variables): Remove %libgcrypt.
      (make-config.scm): Remove #:libgcrypt.
      * build-aux/build-self.scm (guile-gcrypt): New variable.
      (make-config.scm): Remove #:libgcrypt.
      (build-program)[fake-gcrypt-hash]: New variable.
      Add (gcrypt hash) to the imported modules.  Adjust load path
      assignments.
      * gnu/packages/package-management.scm (guix)[propagated-inputs]: Add
      GUILE-GCRYPT.
      [arguments]: In 'wrap-program' phase, add GUILE-GCRYPT to the search
      path.
      ca719424
  8. Sep 03, 2018
    • Tobias Geerinckx-Rice's avatar
      Fix some typos. · cfcfc6ab
      Tobias Geerinckx-Rice authored
      * doc/guix.texi (Sound Services, DNS Services): Fix typos.
      * gnu/packages/cpp.scm (json-modern-cxx)[description]: Likewise.
      * gnu/packages/emacs.scm (emacs-fancy-narrow)[synopsis, description]:
      Likewise. Edit & mark up while we're here.
      * gnu/packages/mail.scm (alot)[synopsis, description]: Ditto.
      cfcfc6ab
  9. Sep 02, 2018
    • Ludovic Courtès's avatar
      Add (guix channels) and use it in (guix scripts pull). · 0d39a3b9
      Ludovic Courtès authored
      * guix/channels.scm: New file.
      * Makefile.am (MODULES): Add it.
      * guix/scripts/pull.scm: Use it.
      (%default-options): Remove 'repository-url' and 'ref'.
      (show-help, %options): Add '--channels'.
      (%self-build-file, %pull-version, build-from-source)
      (whole-package-for-legacy, derivation->manifest-entry): Remove.  These
      now exist in a similar form in (guix channels).
      (build-and-install): Change 'source' to 'instances'.  Remove #:url,
       #:branch, and #:commit.  Rewrite using 'channel-instances->manifest'.
      (channel-list): New procedure.
      (guix-pull): Parameterize %REPOSITORY-CACHE-DIRECTORY.  Call
      'honor-lets-encrypt-certificates!' unconditionally.  Load
      ~/.config/guix/channels.scm.  Rewrite to use (guix channels).
      [use-le-certs?]: Remove.
      * po/guix/POTFILES.in: Add (guix channels).
      * doc/guix.texi (Invoking guix pull): Group the description of '--url',
      '--commit', and '--branch'.  Remove mention of 'GUIX_PULL_URL'.  Add
      references to "Channels".  Document '--channels'.
      (Channels): New node.
      (Defining Packages): Link to "Channels" instead of "Package Modules".
      (Invoking guix edit): Link to "Package Modules" instead of "Defining
      Packages".
      (Package Modules): Document both GUIX_PACKAGE_PATH and channels.
      0d39a3b9
  10. Aug 30, 2018
    • Ricardo Wurmus's avatar
      import: pypi: Support recursive importing. · ac906cb7
      Ricardo Wurmus authored
      * guix/import/pypi.scm (guess-requirements): Use upstream names.
      (compute-inputs): Return the upstream dependency names as an additional value.
      (make-pypi-sexp): Likewise.
      (pypi->guix-package): Memoize it.
      (pypi-recursive-import): New procedure.
      * guix/scripts/import/pypi.scm (show-help, %options): Accept "recursive"
      option.
      (guix-import-pypi): Use pypi-recursive-import.
      * doc/guix.texi (Invoking guix import): Document it.
      ac906cb7
    • Ricardo Wurmus's avatar
      import: stackage: Support recursive importing. · a3ece51a
      Ricardo Wurmus authored
      * guix/import/hackage.scm (hackage-name->package-name): Export procedure.
      * guix/import/stackage.scm (lts-info-packages-lts-info): Fix match expression.
      (stackage-recursive-import): New procedure.
      (stackage->guix-package): Memoize results.
      * guix/scripts/import/stackage.scm (show-help, %options,
      guix-import-stackage): Support recursive importing.
      * doc/guix.texi (Invoking guix import): Document option.
      a3ece51a
  11. Aug 29, 2018
    • Oleg Pykhalov's avatar
      services: Add ddclient service. · 8490a834
      Oleg Pykhalov authored
      * gnu/services/dns.scm (ddclient-configuration, ddclient-service-type): New
      variables.
      (uglify-field-name, serialize-field, serialize-boolean, serialize-integer,
      serialize-string, serialize-list, serialize-extra-options,
      ddclient-activation, ddclient-shepherd-service,
      generate-ddclient-documentation): New procedures.
      * doc/guix.texi (DNS Services): Document it.
      8490a834
  12. Aug 28, 2018
    • Ludovic Courtès's avatar
      services: openssh: Add 'log-level' field. · 6772ed1e
      Ludovic Courtès authored
      * gnu/services/ssh.scm (<openssh-configuration>)[log-level]: New field.
      (openssh-config-file): Honor it.
      * doc/guix.texi (Networking Services): Document it.
      6772ed1e
    • Chris Marusich's avatar
      services: tor: Make it easier to use UNIX sockets. · 3bcb305b
      Chris Marusich authored
      * doc/guix.texi (Networking Services): Document it, and mention that
      tor-service is deprecated.
      * gnu/services/networking.scm (<tor-configuration>) <socks-socket-type>:
      New field.
      (tor-configuration->torrc): When socks-socket-type is 'unix, set
      SocksPort to UNIX domain socket /var/run/tor/socks-sock and set
      UnixSocksGroupWritable to 1.
      * gnu/tests/networking.scm (%tor-os/unix-socks-socket): Instead of using
      a custom config file, just set socks-socket-type to 'unix.
      3bcb305b
  13. Aug 20, 2018
  14. Aug 16, 2018
    • Julien Lepiller's avatar
      doc: Fix typo. · 9c332294
      Julien Lepiller authored
      * doc/guix.texi (Using the Configuration System): Add missing 'you' and
      fix word order.
      9c332294
  15. Aug 15, 2018
  16. Aug 12, 2018
    • Clément Lassieur's avatar
      services: cgit: Disable repo booleans having a global counterpart. · efb22b47
      Clément Lassieur authored
      Otherwise the global counterpart is never taken into account.
      
      * doc/guix.texi (Version Control Services): Update accordingly.
      * gnu/services/cgit.scm (repo-boolean?, serialize-repo-boolean): Use the
      DEFINE-MAYBE macro to allow for the 'disabled value.
      (repository-cgit-configuration)[enable-commit-graph?, enable-log-filecount?,
      enable-log-linecount?, enable-remote-branches?, enable-subject-links?,
      enable-html-serving?]: Change default value to 'disabled.
      efb22b47
  17. Aug 11, 2018
    • Ricardo Wurmus's avatar
      import: hackage: Support recursive importing. · a9285961
      Ricardo Wurmus authored
      * guix/import/hackage.scm (hackage-recursive-import): New procedure.
      (hackage-module->sexp): Return dependencies alongside dependencies.
      (hackage->guix-package): Memoize results.
      * guix/scripts/import/hackage.scm (show-help, %options, guix-import-hackage):
      Support recursive importing.
      * doc/guix.texi (Invoking guix import): Document option.
      a9285961
  18. Aug 09, 2018
  19. Jul 30, 2018
  20. Jul 29, 2018
  21. Jul 28, 2018
    • Chris Marusich's avatar
      doc: Clarify some of guix-daemon's GC options. · 346a6321
      Chris Marusich authored
      Reported by Pierre Neidhardt <ambrevar@gmail.com>.
      
      * doc/guix.texi (Invoking guix-daemon): Fix an incorrect statement
      regarding --gc-keep-outputs.  Add a little to the description of this
      option and --gc-keep-derivations.
      346a6321
  22. Jul 25, 2018
    • Efraim Flashner's avatar
      gnu: Add hplip-minimal. · 8e189596
      Efraim Flashner authored
      * gnu/packages/cups.scm (hplip-minimal): New variable.
      * gnu/packages/scanner.scm (sane-backends)[inputs]: Replace hplip with
      hplip-minimal.
      * doc/guix.texi (Printing Services): Change example code to use
      hplip-minimal in place of hplip. Add note explaining when use hplip.
      8e189596
  23. Jul 23, 2018
  24. Jul 16, 2018
  25. Jul 13, 2018
    • Ludovic Courtès's avatar
      pull: Use (guix inferior) to display new and upgraded packages. · dc733e6a
      Ludovic Courtès authored
      * guix/scripts/pull.scm (display-profile-content): Call
      'display-generation'.
      (display-new/upgraded-packages, display-profile-content-diff): New
      procedures.
      (process-query)[list-generation]: Remove.
      [list-generations]: New procedure.
      Adjust accordingly.
      * doc/guix.texi (Invoking guix pull): Update example of '-l'.
      dc733e6a
    • Ludovic Courtès's avatar
      Add (guix inferior) and (guix scripts repl). · 2ca299ca
      Ludovic Courtès authored
      * guix/inferior.scm, guix/scripts/repl.scm, tests/inferior.scm: New
      files.
      * Makefile.am (MODULES): Add 'guix/scripts/repl.scm' and
      'guix/inferior.scm'.
      (SCM_TESTS): Add 'tests/inferior.scm'.
      * doc/guix.texi (Invoking guix repl): New node.
      2ca299ca
  26. Jul 12, 2018
    • Ludovic Courtès's avatar
      services: mcron: Add 'schedule' action. · 147c5aa5
      Ludovic Courtès authored
      Inspired by
      <https://lists.gnu.org/archive/html/help-guix/2018-07/msg00035.html>.
      
      * gnu/services/mcron.scm (shepherd-schedule-action): New procedure.
      (mcron-shepherd-services): Add 'actions' field.
      * gnu/tests/base.scm (run-mcron-test)["schedule action"]: New test.
      * doc/guix.texi (Scheduled Job Execution): Mention 'herd schedule'.
      147c5aa5
    • Ludovic Courtès's avatar
      services: shepherd: Support custom actions. · 70138308
      Ludovic Courtès authored
      * gnu/services/shepherd.scm (<shepherd-service>)[actions]: New field.
      (<shepherd-action>): New record type.
      (shepherd-service-file): Pass #:actions to 'make'.
      * doc/guix.texi (Shepherd Services): Document custom actions.
      70138308
    • Jan Nieuwenhuizen's avatar
      gexp: Allow bytevector as content of `plain-file'. · e8e1f295
      Jan Nieuwenhuizen authored
      This allows for using a package source directly from git, doing something like
      
          (define (command->bytevector command)
            (let ((port (apply open-pipe* OPEN_READ command)))
              (let ((output (get-bytevector-all port)))
                (close-port port)
                output)))
      
          (define-public hello-git
            (package
              (name "hello")
              (version "git")
              (source (let* ((commit "stable-2.0")
                             (content (command->bytevector
                                       `("git" "archive" "--format" "tar" "--prefix"
                                         ,(string-append commit "/") ,commit)))
                             (file-name (string-append "hello-" commit)))
                        (plain-file file-name content)))
              ...
              ))
      
      * guix/gexp.scm (<plain-file>): Also allow bytevector content.
      (plain-file-compiler): Handle bytevector content.
      * doc/guix.texi (G-Expressions): Describe plain-file now also taking
      bytevectors.
      e8e1f295
    • Jan Nieuwenhuizen's avatar
      store: Add `binary-file'. · f3a42251
      Jan Nieuwenhuizen authored
      * guix/store.scm (binary-file): New function.
      * doc/guix.texi (The Store Monad): Describe binary-file.
      f3a42251
  27. Jul 11, 2018
    • Oleg Pykhalov's avatar
      import: gem: Add recursive import. · 88388766
      Oleg Pykhalov authored
      * doc/guix.texi (Invoking guix import): Document gem recursive import.
      * guix/import/gem.scm (gem->guix-package): Return package and dependencies
      values.
      (gem-recursive-import): New procedure.
      * guix/scripts/import/gem.scm (show-help, %options): Add recursive option.
      (guix-import-gem): Use 'gem-recursive-import'.
      * tests/gem.scm (test-json): Rename to 'test-foo-json'.
      ("gem->guix-package"): Use 'test-foo-json'.
      (test-bar-json, test-bundler-json): New variables.
      ("gem-recursive-import"): New test.
      88388766
  28. Jul 10, 2018
    • Julien Lepiller's avatar
      guix: Add opam importer. · b24443bf
      Julien Lepiller authored
      * guix/scripts/import.scm (importers): Add opam.
      * guix/scripts/import/opam.scm: New file.
      * guix/import/opam.scm: New file.
      * tests/opam.scm: New file.
      * Makefile.am: Add them.
      * doc/guix.texi (Invoking guix import): Document it.
      b24443bf
  29. Jul 09, 2018
Loading