Skip to content
Snippets Groups Projects
  1. Jul 13, 2018
  2. 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
  3. 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
  4. 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
  5. Jul 09, 2018
  6. Jul 07, 2018
  7. Jul 05, 2018
  8. Jul 04, 2018
  9. Jun 27, 2018
  10. Jun 26, 2018
  11. Jun 25, 2018
  12. Jun 23, 2018
  13. Jun 22, 2018
  14. Jun 16, 2018
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. Jun 08, 2018
  21. 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
  22. 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
Loading