Skip to content
Snippets Groups Projects
  1. Sep 07, 2018
    • 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.
      Unverified
      ee94cfeb
  2. Sep 06, 2018
  3. 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.
      Unverified
      ca719424
  4. 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.
      Unverified
      cfcfc6ab
  5. 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.
      Unverified
      0d39a3b9
  6. 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.
      Unverified
      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.
      Unverified
      a3ece51a
  7. 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.
      Unverified
      8490a834
  8. 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.
      Unverified
      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.
      Unverified
      3bcb305b
  9. Aug 26, 2018
  10. Aug 20, 2018
  11. Aug 16, 2018
  12. Aug 15, 2018
  13. 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.
      Unverified
      efb22b47
  14. 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.
      Unverified
      a9285961
  15. Aug 09, 2018
  16. Jul 30, 2018
  17. Jul 29, 2018
  18. Jul 28, 2018
  19. 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.
      Unverified
      8e189596
  20. Jul 23, 2018
  21. Jul 16, 2018
  22. Jul 13, 2018
  23. 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'.
      Unverified
      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.
      Unverified
      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.
      Unverified
      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.
      Unverified
      f3a42251
  24. 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.
      Unverified
      88388766
  25. 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.
      Unverified
      b24443bf
  26. Jul 09, 2018
Loading