Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. May 17, 2018
    • Efraim Flashner's avatar
      daemon: Allow building for armhf-linux on aarch64-linux. · 162825f9
      Efraim Flashner authored
      * nix/libstore/build.cc (canBuildLocally): Allow building armhf-linux
      builds on aarch64-linux.
      (DerivationGoal::runChild) Throw error if attempting to build for
      armhf-linux on an unsupported platform.
      * doc/guix.texi (Invoking guix build): Document how to build natively
      for armhf-linux on aarch64-linux.  Add note that on some aarch64
      machines this is unsupported.
      162825f9
  13. May 16, 2018
  14. May 14, 2018
  15. May 10, 2018
    • Pierre-Antoine Rouby's avatar
      services: bitlbee: Add plugins. · 36d619e8
      Pierre-Antoine Rouby authored
      
      * doc/guix.texi (Bitlbee Service): Add plugins.
      * gnu/services/messaging.scm (<bitlbee-configuration>): Add plugins argument.
        (bitlbee-shepherd-service): Update config file.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      36d619e8
    • Ludovic Courtès's avatar
      pack: Add '--relocatable'. · 47a60325
      Ludovic Courtès authored
      * gnu/packages/aux-files/run-in-namespace.c: New file.
      * Makefile.am (AUX_FILES): Add it.
      * guix/scripts/pack.scm (<c-compiler>): New record type.
      (c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures.
      (self-contained-tarball): Use
      'relative-file-name' for the SOURCE -> TARGET symlink.
      (docker-image): Add 'defmod' to please Geiser.
      (wrapped-package, map-manifest-entries): New procedures.
      (%options, show-help): Add --relocatable.
      (guix-pack): Honor it.
      47a60325
  16. May 09, 2018
  17. May 07, 2018
  18. May 02, 2018
    • Oleg Pykhalov's avatar
      gnu: Add sound service. · 8cd1e8e8
      Oleg Pykhalov authored
      * gnu/services/sound.scm: New file.
      * gnu/local.mk (GNU_SYSTEM_MODULES): Add this.
      * doc/guix.texi (Sound Services): New chapter.
      8cd1e8e8
  19. Apr 30, 2018
    • Ludovic Courtès's avatar
      services: gpm: Provide a default value and document 'gpm-service-type'. · 5986e941
      Ludovic Courtès authored
      * gnu/services/base.scm (%default-gpm-options): New variable.
      (<gpm-configuration>)[gpm, options]: Add default values.
      (gpm-service-type)[default-value]: New field.
      (gpm-service): Use %DEFAULT-GPM-OPTIONS and mark as deprecated.
      * doc/guix.texi (Base Services): Document 'gpm-service-type' and
      'gpm-configuration'.  Remove 'gpm-service'.
      5986e941
    • Danny Milosavljevic's avatar
      services: Add modem-manager-service-type. · d94e81db
      Danny Milosavljevic authored
      * gnu/services/networking.scm (modem-manager-service-type): New variable.
      (<modem-manager-configuration>): New variable.
      (modem-manager-configuration): New procedure.
      (modem-manager-configuration?): New procedure.
      * doc/guix.texi (Networking Services): Document it.
      * gnu/tests/networking.scm: Import (gnu services base).
      d94e81db
  20. Apr 22, 2018
    • Chris Marusich's avatar
      services: Add dhcpd-service-type and <dhcpd-configuration>. · f1104d90
      Chris Marusich authored
      * doc/guix.texi (Networking Services): Document it.
      * gnu/services/networking.scm (dhcpd-service-type): Add it.
      (dhcpd-configuration, dhcpd-configuration?): Add it.
      (dhcpd-configuration-package): Add it.
      (dhcpd-configuration-config-file): Add it.
      (dhcpd-configuration-version): Add it.
      (dhcpd-configuration-run-directory): Add it.
      (dhcpd-configuration-lease-file): Add it.
      (dhcpd-configuration-pid-file): Add it.
      (dhcpd-configuration-interfaces): Add it.
      * gnu/tests/networking.scm (minimal-dhcpd-v4-config-file)
      (dhcpd-v4-configuration, %dhcpd-os, run-dhcpd-test, %test-dhcpd): New
      variables.
      f1104d90
  21. Apr 11, 2018
    • Clément Lassieur's avatar
      services: cgit: Add support for project-list. · e5fe544e
      Clément Lassieur authored
      * doc/guix.texi (Version Control Services): Update accordingly.
      * gnu/services/cgit.scm (cgit-configuration)[project-list]: New field.
      (serialize-project-list): New procedure that uses PLAIN-FILE to generate a
      file from the string list given by the user as input.
      (serialize-cgit-configuration): Make sure to serialize 'project-list' before
      'repostory-directory'.
      e5fe544e
    • Clément Lassieur's avatar
      services: cgit: Add support for file-like objects. · ad05e96e
      Clément Lassieur authored
      * doc/guix.texi (Version Control Services): Update accordingly.
      * gnu/services/cgit.scm (serialize-field, serialize-string, serialize-boolean,
      serialize-integer, serialize-repository-cgit-configuration-list,
      serialize-nginx-server-configuration-list, serialize-repo-field,
      serialize-repo-boolean, serialize-repo-integer, serialize-module-link-path,
      serialize-repository-directory, serialize-mimetype-alist): Return strings or
      string-valued gexps and stop printing.
      (repository-cgit-configuration)[source-filter, about-filter, commit-filter,
      logo, owner-filter], (cgit-configuration)[auth-filter, commit-filter, css,
      email-filter, favicon, include, logo, owner-filter, mimetype-file, readme,
      source-filter]: Replace STRING with FILE-OBJECT.
      (file-object?, serialize-file-object, repo-file-object?,
      serialize-repo-file-object): New procedures.
      (cgit-activation): Use SERIALIZE-CONFIGURATION's return value with
      MIXED-TEXT-FILE instead of using its output with PLAIN-FILE.
      ad05e96e
  22. Apr 10, 2018
    • Ludovic Courtès's avatar
      gexp: 'scheme-file' can splice expressions. · 4fbd1a2b
      Ludovic Courtès authored
      * guix/gexp.scm (<scheme-file>)[splice?]: New field.
      (scheme-file): Add #:splice? and pass it to '%scheme-file'.
      (scheme-file-compiler): Pass SPLICE? to 'gexp->file'.
      (gexp->file): Add #:splice? and honor it.
      * tests/gexp.scm ("gexp->file + #:splice?"): New test.
      ("gexp->derivation & with-imported-module & computed module"): Use
       #:splice? #t.
      4fbd1a2b
  23. Apr 04, 2018
  24. Mar 31, 2018
    • Ludovic Courtès's avatar
      guix package: Add '--allow-collisions'. · fc95dc4c
      Ludovic Courtès authored
      Fixes <https://bugs.gnu.org/30830>.
      Suggested by Ricardo Wurmus <rekado@elephly.net>.
      
      * guix/scripts/package.scm (build-and-use-profile): Add
       #:allow-collisions? and pass it to 'profile-derivation'.
      (show-help, %options): Add '--allow-collisions'.
      (manifest-action, process-actions): Pass #:allow-collisions? to
      'build-and-use-profile'.
      * tests/guix-package.sh: Add collision test.
      * doc/guix.texi (Invoking guix package): Document '--allow-collisions'.
      fc95dc4c
  25. Mar 29, 2018
  26. Mar 28, 2018
  27. Mar 27, 2018
    • Ludovic Courtès's avatar
      guix gc: Add '--derivers'. · 8980eea5
      Ludovic Courtès authored
      * guix/scripts/gc.scm (show-help, %options): Add '--derivers'.
      (guix-gc): Handle 'list-derivers'.
      * tests/guix-gc.sh: Add test.
      * doc/guix.texi (Invoking guix gc): Document it.
      8980eea5
    • Ludovic Courtès's avatar
      graph: Add "module" node type. · b06a70e0
      Ludovic Courtès authored
      * guix/scripts/graph.scm (module-from-package)
      (source-module-dependencies*): New procedures.
      (%module-node-type): New variable.
      (%node-types): Add it.
      * guix/modules.scm (source-module-dependencies): Export.
      * tests/graph.scm ("module graph"): New test.
      * doc/guix.texi (Invoking guix graph): Document it.
      b06a70e0
  28. Mar 24, 2018
Loading