Skip to content
Snippets Groups Projects
  1. Jul 12, 2016
    • Ludovic Courtès's avatar
      gnu: Switch to 'with-imported-modules'. · 4ee96a79
      Ludovic Courtès authored
      * gnu/services.scm (directory-union): Use 'with-imported-modules'
      instead of the '#:modules' argument of 'computed-file'.
      * gnu/services/base.scm (udev-rules-union): Likewise.
      * gnu/services/dbus.scm (system-service-directory): Likewise.
      * gnu/services/desktop.scm (wrapped-dbus-service):
      (polkit-directory): Likewise.
      * gnu/services/networking.scm (tor-configuration->torrc): Likewise.
      * gnu/services/xorg.scm (xorg-configuration-directory): Likewise.
      * gnu/system/install.scm (self-contained-tarball): Likewise.
      * gnu/system/linux-container.scm (container-script): Likewise.
      * gnu/system/linux-initrd.scm (expression->initrd): Likewise, and
      remove #:modules parameter.
      (flat-linux-module-directory): Use 'with-imported-modules'.
      (base-initrd): Likewise.
      * gnu/system/locale.scm (locale-directory): Likewise.
      * gnu/system/shadow.scm (default-skeletons): Likewise.
      * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
      * gnu/tests/base.scm (run-basic-test): Likewise.
      * gnu/tests/install.scm (run-install): Likewise.
      * doc/guix.texi (Initial RAM Disk): Update 'expression->initrd'
      documentation.
      4ee96a79
    • Ludovic Courtès's avatar
      gexp: Add 'with-imported-modules' macro. · 0bb9929e
      Ludovic Courtès authored
      * guix/gexp.scm (<gexp>)[modules]: New field.
      (gexp-modules): New procedure.
      (gexp->derivation): Use it and append the result to %MODULES.
      Update docstring to mark #:modules as deprecated.
      (current-imported-modules, with-imported-modules): New macros.
      (gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'.
      (gexp->script): Use and honor 'gexp-modules'; define '%modules'.
      * tests/gexp.scm ("gexp->derivation & with-imported-modules")
      ("gexp->derivation & nested with-imported-modules")
      ("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"):
      New tests.
      ("program-file"): Use 'with-imported-modules'.  Remove #:modules
      argument to 'program-file'.
      * doc/guix.texi (G-Expressions): Document 'with-imported-modules'.
      Mark #:modules of 'gexp->derivation' as deprecated.
      * emacs/guix-devel.el: Add syntax for 'with-imported-modules'.
      (guix-devel-keywords): Add it.
      * .dir-locals.el: Likewise.
      0bb9929e
  2. Jul 05, 2016
  3. Jun 27, 2016
  4. Jun 26, 2016
    • Ludovic Courtès's avatar
      doc: Augment mcron example. · 8ac6282c
      Ludovic Courtès authored
      Suggested by Danny Milosavljevic.
      
      * doc/guix.texi (Scheduled Job Execution): Add unprivileged job example,
      and show the use of thunks as job actions and gexps.
      8ac6282c
    • Ludovic Courtès's avatar
      doc: Clarify /dev/kvm setup. · eca69fc0
      Ludovic Courtès authored
      Reported by myglc2 <myglc2@gmail.com>.
      
      * doc/guix.texi (Build Environment Setup): Mention the "kvm" group.
      (Invoking guix system): Use "@quotation Note" for the note about KVM;
      make it clear that KVM is optional.
      eca69fc0
  5. Jun 22, 2016
  6. Jun 18, 2016
  7. Jun 17, 2016
    • Ludovic Courtès's avatar
      services: dicod: Add 'interfaces' configuration field. · a1b48465
      Ludovic Courtès authored
      This makes 'dicod' listen on 'localhost' by default, whereas it was
      previously listening on all the interfaces, which is not a good default
      security-wise.
      
      * gnu/services/dict.scm (<dicod-configuration>)[interfaces]: New field.
      (dicod-configuration-file)[database->text]: New procedure, with code
      formerly in 'dicod-configuration->text'.
      [dicod-configuration->text]: Rename to...
      [configuration->text]: ... this.  Honor 'interfaces'.
      * doc/guix.texi (Various Services): Document 'interfaces'.
      a1b48465
  8. Jun 16, 2016
    • Ludovic Courtès's avatar
      doc: Recommend against marketing phrases in descriptions. · 762e54b7
      Ludovic Courtès authored
      * doc/guix.texi (Synopses and Descriptions): Add note about marketing
      phrases.
      762e54b7
    • Sou Bunnbu (宋文武)'s avatar
      gnu: services: Add mysql-service. · 6575183b
      Sou Bunnbu (宋文武) authored
      * gnu/services/database.scm (<mysql-configuration>): New record type.
      (%mysql-accounts, mysql-service-type): New variables.
      (mysql-configuration-file, %mysql-activation, mysql-shepherd-services)
      (mysql-services): New procedures.
      * doc/guix.texi (Database Services): Document it.
      6575183b
    • Ludovic Courtès's avatar
      gexp: Add #:select? parameter to 'local-file'. · 0687fc9c
      Ludovic Courtès authored
      * guix/gexp.scm (<local-file>)[select?]: New field.
      (true): New procedure.
      (%local-file): Add #:select? and honor it.
      (local-file): Likewise.
      * tests/gexp.scm ("local-file, #:select?"): New test.
      * doc/guix.texi (G-Expressions): Adjust accordingly.
      0687fc9c
    • Ludovic Courtès's avatar
      doc: Fix typos. · b7899749
      Ludovic Courtès authored
      Reported by ozzloy on #guix.
      
      * doc/guix.texi (package Reference): Add missing space.
      (G-Expressions, Invoking guix build):
      (Common Build Options): Fix typos.
      b7899749
  9. Jun 15, 2016
    • Ludovic Courtès's avatar
      store: Add #:select? parameter to 'add-to-store'. · 1ec32f4a
      Ludovic Courtès authored
      * guix/store.scm (write-arg): Remove 'file' case.
      (true): New procedure.
      (add-to-store): Add #:select? parameter and honor it.  Use hand-coded
      stub instead of 'operation'.
      (interned-file): Add #:select? parameter and honor it.
      * doc/guix.texi (The Store Monad): Adjust 'interned-file' documentation
      accordingly.
      1ec32f4a
    • Ludovic Courtès's avatar
      packages: The 'source' can be any lowerable object. · da675305
      Ludovic Courtès authored
      * guix/packages.scm (expand-input): Use 'struct?' instead of 'origin?'
      when matching SOURCE.
      (package-source-derivation): Use 'lower-object' instead of
      'origin->derivation'.
      * tests/packages.scm ("package-source-derivation, local-file"): New
      test.
      * doc/guix.texi (package Reference): Update 'source' documentation
      accordingly.
      da675305
  10. Jun 14, 2016
    • Cyril Roelandt's avatar
      import: pypi: read requirements from wheels. · 266785d2
      Cyril Roelandt authored
      * doc/guix.tex (Invoking guix import): Mention that the pypi importer
      works better with "unzip".
      * guix/import/pypi.scm (latest-wheel-release,
      wheel-url->extracted-directory): New procedures.
      * tests/pypi.scm (("pypi->guix-package, wheels"): New test.
      266785d2
  11. Jun 12, 2016
  12. Jun 09, 2016
    • Ludovic Courtès's avatar
      publish: Add '--ttl'. · e4c7a5f7
      Ludovic Courtès authored
      * guix/scripts/publish.scm (show-help, %options): Add --ttl.
      (render-narinfo): Add #:ttl and honor it.
      (make-request-handler): Add #:narinfo-ttl and honor it.
      (run-publish-server): Likewise.
      (guix-publish): Honor --ttl, pass it to 'run-publish-server'.
      e4c7a5f7
  13. Jun 08, 2016
  14. Jun 05, 2016
  15. Jun 04, 2016
  16. Jun 03, 2016
  17. Jun 01, 2016
  18. May 31, 2016
    • Eelco Dolstra's avatar
      daemon: rounds: Keep the differing output if -K is given. · b4528110
      Eelco Dolstra authored
      Regardless of -K, we now also print which output differs.
      b4528110
    • Eelco Dolstra's avatar
      daemon: check: Keep the differing output if -K is given. · 7f3b2510
      Eelco Dolstra authored
      
      This makes it easier to investigate the non-determinism, e.g.
      
        $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
        error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’
      
        $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
        ...
        ├── lib/libz.a
        │   ├── metadata
        │   │ @@ -1,15 +1,15 @@
        │   │ -rw-r--r-- 30001/30000   3096 Jan 12 15:20 2016 adler32.o
        ...
        │   │ +rw-r--r-- 30001/30000   3096 Jan 12 15:28 2016 adler32.o
        ...
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      7f3b2510
  19. May 28, 2016
    • Leo Famulari's avatar
      services: Add urandom-seed-service. · a535e122
      Leo Famulari authored
      Fixes <http://bugs.gnu.org/23605>.
      
      * gnu/services/base.scm (urandom-seed-service): New procedure.
      (%random-seed-file, urandom-seed-service-type): New variables.
      (%urandom-seed-shepherd-service): New procedure.
      (%base-services): Call 'urandom-seed-service'.
      * doc/guix.texi (Base Services): Document it.
      a535e122
  20. May 26, 2016
  21. May 24, 2016
    • Ludovic Courtès's avatar
      size: Accept several arguments. · db761534
      Ludovic Courtès authored
      * guix/scripts/size.scm (display-profile): Display WHOLE at then end.
      (guix-size): Accept several FILES.
      * doc/guix.texi (Invoking guix size): Add example with several items.
      db761534
  22. May 20, 2016
    • Ludovic Courtès's avatar
      graph: Allow store file names for 'derivation' and 'references' graphs. · a773c314
      Ludovic Courtès authored
      * guix/scripts/graph.scm (%derivation-node-type)[convert]: Add
      'derivation-path?' and catch-all clauses.
      (%reference-node-type)[convert]: Add 'store-path?' and catch-all
      clauses.
      (assert-package, nodes-from-package): New procedures.
      (%package-node-type, %bag-node-type,%bag-with-origins-node-type)
      (%bag-emerged-node-type): Add 'convert' field
      (guix-graph): Rename 'packages' to 'items' and
      allow 'store-path?' arguments.
      * guix/graph.scm (<node-type>)[convert]: Adjust comment.
      * doc/guix.texi (Invoking guix graph): Document it.
      a773c314
  23. May 17, 2016
    • Ludovic Courtès's avatar
      lint: Honor 'cpe-name' and 'cpe-version' package properties. · 99effc8f
      Ludovic Courtès authored
      * guix/scripts/lint.scm (package-name->cpe-name): Remove.
      (package-vulnerabilities): Honor 'cpe-name' and 'cpe-version'
      properties.
      * gnu/packages/grub.scm (grub)[properties]: New field.
      * gnu/packages/gnuzilla.scm (icecat)[properties]: Add 'cpe-name' and
      'cpe-version'.
      * doc/guix.texi (Invoking guix lint): Mention 'cpe-name'.
      99effc8f
  24. May 11, 2016
  25. May 08, 2016
  26. May 05, 2016
    • Efraim Flashner's avatar
      services: Add connman-service. · 76192896
      Efraim Flashner authored
      * gnu/services/networking.scm (connman-service): New procedure.
      (connman-service-type, %connman-activation): New variables.
      (connman-shepherd-service): New procedure.
      * doc/guix.texi (Networking Services): Document it.
      76192896
  27. Apr 27, 2016
  28. Apr 25, 2016
  29. Apr 21, 2016
    • Mathieu Lirzin's avatar
      build: Move 'Makefile' fragments to subdirectories. · 03d0e2d2
      Mathieu Lirzin authored
      This follows a convention used by some other GNU packages like Autoconf,
      Bison, Coreutils, and Gnulib.
      
      * doc.am: Rename to ...
      * doc/local.mk: ... this.
      * emacs.am: Rename to ...
      * emacs/local.mk: ... this.
      * gnu-system.am: Rename to ...
      * gnu/local.mk: ... this.
      * daemon.am: Rename to ...
      * nix/local.mk: ... this.
      * Makefile.am: Adapt to them.
      * doc/guix.texi (Porting to a New Platform): Adapt documentation.
      * guix/config.scm.in (%state-directory, %config-directory): Adapt comments.
      * emacs/guix-config.el.in (guix-config-state-directory): Likewise.
      03d0e2d2
Loading