Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. Jul 09, 2018
  5. Jul 07, 2018
  6. Jul 05, 2018
  7. Jun 27, 2018
  8. Jun 26, 2018
  9. Jun 25, 2018
  10. Jun 22, 2018
  11. Jun 16, 2018
  12. Jun 15, 2018
    • Danny Milosavljevic's avatar
      system: Add os-with-u-boot. · 4ce4fc50
      Danny Milosavljevic authored
      * gnu/system/install.scm (os-with-u-boot): New procedure.
      * gnu/packages/bootloaders.scm (make-u-boot-package): Export.
      * doc/guix.texi (Building the Installation Image for ARM Boards): New
      subsection.
      4ce4fc50
  13. Jun 14, 2018
    • Ludovic Courtès's avatar
      build: Require Guile-SQLite3. · c5a2e1ff
      Ludovic Courtès authored
      The next commits make (sqlite3) an indirect dependency of (gnu build
      install), which is itself used by (guix scripts system), hence this new
      requirement.
      
      * configure.ac: Error out when $guix_cv_have_recent_guile_sqlite3 is
      false.  Remove HAVE_GUILE_SQLITE3 Automake conditional.
      * Makefile.am (MODULES, SCM_TESTS): Remove HAVE_GUILE_SQLITE3 conditions.
      * doc/guix.texi (Requirements): Add Guile-SQLite3.
      * README: Ditto.
      * gnu/packages/package-management.scm (guix)[propagated-inputs]: Add
      GUILE-SQLITE3.
      [arguments]: In 'wrap-program' phase, take guile-sqlite3 into account.
      c5a2e1ff
  14. Jun 13, 2018
    • Ludovic Courtès's avatar
      pull: Add '--list-generations'. · e2f8be06
      Ludovic Courtès authored
      * guix/scripts/pull.scm (show-help, %options): Add '--list-generations'.
      (display-profile-content, process-query): New procedures.
      (guix-pull): Honor '--list-generations'.
      e2f8be06
  15. Jun 12, 2018
    • Christopher Baines's avatar
      services: nginx: Support extra content in the http block. · 25e071ea
      Christopher Baines authored
      This helpful when adding content to the nginx configuration file, which isn't
      supported by the record type used for the configuration.  For example, like
      adding proxy_cache_path configuration.
      
      * gnu/packages/web.scm (<nginx-configuration>): Add new extra-content field.
        (nginx-configuration-extra-content): New field accessor.
        (default-nginx-config): Add support for the extra-content field.
      * doc/guix.texi (NGINX): Document the new extra-content field.
      25e071ea
  16. Jun 09, 2018
    • Ludovic Courtès's avatar
      pull: Install the new Guix in a profile. · 75e24d7b
      Ludovic Courtès authored
      * guix/scripts/pull.scm (%pull-version): New variable.
      (build-from-source): Pass #:pull-version to BUILD.
      (whole-package-for-legacy, derivation->manifest-entry): New procedure.
      (build-and-install): Rewrite in terms of 'build-and-use-profile'.
      * guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
      Switch to "/current".
      * scripts/guix.in (augment-load-paths!): Remove use of
      ~/.config/guix/latest.
      * build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
      "/current/share/guile/site/X.Y"
      * guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
      instead of "/latest".
      * doc/guix.texi (Invoking guix pull): Document it.
      * doc/contributing.texi (Running Guix Before It Is Installed): Remove
      footnote about abusing ~/.config/guix/latest.
      75e24d7b
  17. Jun 08, 2018
    • Julien Lepiller's avatar
      doc: Document xorg keymap configuration. · 136a1e8b
      Julien Lepiller authored
      * doc/guix.texi (Xorg display): Add an example xorg keymap configuration.
      136a1e8b
    • Sou Bunnbu (宋文武)'s avatar
      services: dnsmasq: Use 'negative-cache?' instead of 'no-negcache?'. · c061eb58
      Sou Bunnbu (宋文武) authored
      The 'no-negcache?' option is mapped to the '--no-negcache' command-line
      argument directly, but we're in the scheme world, where the general guideline
      is to avoid double-negations in identifiers.
      
      * gnu/services/dns.scm <dnsmasq-configuration>: Replace the 'no-negcache?'
      field with 'negative-cache?'.
      * doc/guix.texi (DNS Services)[Dnsmasq Service]: Adjust accordingly.
      c061eb58
    • Oleg Pykhalov's avatar
      import: elpa: Add recursive import. · 74032da3
      Oleg Pykhalov authored
      * 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'.
      74032da3
  18. Jun 05, 2018
    • Sou Bunnbu (宋文武)'s avatar
      services: Add dnsmasq-service-type. · 97f6e913
      Sou Bunnbu (宋文武) authored
      * gnu/services/dns.scm (dnsmasq-service-type): New variable.
      (<dnsmasq-configuration>): New record type.
      (dnsmasq-shepherd-service): New procedure.
      * doc/guix.texi (DNS Services): Document it.
      97f6e913
  19. Jun 01, 2018
    • Ludovic Courtès's avatar
      gexp: Add 'with-extensions'. · 838e17d8
      Ludovic Courtès authored
      * 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'.
      838e17d8
    • Pierre-Antoine Rouby's avatar
      services: Add hpcguix-web. · 93b83eb3
      Pierre-Antoine Rouby authored
      
      * gnu/service/web.scm (<hpcguix-web-configuration>): New record-type.
        (%hpcguix-web-accounts): New variable.
        (%hpcguix-web-activation,hpcguix-web-shepherd-service,
        hpcguix-web-service-type): New procedures.
      * gnu/tests/web.scm (run-hpcguix-web-server-test): New procedure.
        (%hpcguix-web-specs, %hpcguix-web-os, %test-hpcguix-web): New variable.
      * doc/guix.texi (Web Services): Add 'hpcguix-web'.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      93b83eb3
  20. May 28, 2018
    • Ricardo Wurmus's avatar
      doc: Add concept index entry for Docker and guix pack. · ed71cda2
      Ricardo Wurmus authored
      * doc/guix.texi (Invoking guix pack): Add concept index entry for Docker.
      ed71cda2
    • Ricardo Wurmus's avatar
      pack: Add support for squashfs images. · b2817f0f
      Ricardo Wurmus authored
      * 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.
      b2817f0f
    • Ludovic Courtès's avatar
      file-systems: Remove 'title' field and add <file-system-label>. · a5acc17a
      Ludovic Courtès authored
      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'.
      a5acc17a
  21. May 20, 2018
    • Efraim Flashner's avatar
      services: Add Enlightenment desktop service. · e9d271ed
      Efraim Flashner authored
      * gnu/services/desktop.scm (<enlightenment-desktop-configuration>,
      enlightenment-desktop-service-type): New variables.
      * doc/guix.texi (Desktop Services): Document the service.
      * NEWS: Mention it.
      e9d271ed
  22. May 18, 2018
    • Christopher Baines's avatar
      services: cgit: Make project-list permit a file-object. · 6ee3f3de
      Christopher Baines authored
      Instead of having the service manage the list, it's useful to be able to point
      this at an existing file, for example, when using cgit together with gitolite.
      
      * gnu/services/cgit.scm (project-list?): New procedure.
      (serialize-project-list): Handle file-object values.
      (<cgit-configuration>): Change the predicate for project-list to allow lists
      and file-objects.
      6ee3f3de
Loading