Skip to content
Snippets Groups Projects
  1. Jul 15, 2016
  2. Jul 13, 2016
  3. Jul 12, 2016
    • Ludovic Courtès's avatar
      packages: <origin> no longer has an 'imported-modules' field. · 1929fdba
      Ludovic Courtès authored
      * guix/packages.scm (<origin>)[imported-modules]: Remove.
      (patch-and-repack): Remove #:imported-modules.  Use
      'with-imported-modules'.  Remove #:modules argument to
      'gexp->derivation'.
      (origin->derivation): Adjust accordingly.
      * doc/guix.texi (origin Reference): Adjust accordingly.
      Unverified
      1929fdba
    • Ludovic Courtès's avatar
      gexp: 'program-file' and 'gexp->script' no longer have #:modules. · 9c14a487
      Ludovic Courtès authored
      * guix/gexp.scm (<program-file>)[modules]: Remove.
      (program-file): Remove #:modules and adjust accordingly.
      (program-file-compiler): Likewise.
      (gexp->script): Likewise.
      Unverified
      9c14a487
    • Ludovic Courtès's avatar
      gexp: 'computed-file' no longer has a #:modules parameter. · a769bffb
      Ludovic Courtès authored
      * guix/gexp.scm (<computed-file>)[modules]: Remove.
      (computed-file): Remove #:modules.
      (computed-file-compiler): Likewise.
      * doc/guix.texi (G-Expressions): Adjust accordingly.
      Unverified
      a769bffb
    • Ludovic Courtès's avatar
      services: <shepherd-service> no longer has an 'imported-modules' field. · a91c3fc7
      Ludovic Courtès authored
      * gnu/services/shepherd.scm (<shepherd-service>)[imported-modules]:
      Remove.
      (%default-imported-modules): Make private.
      (shepherd-service-file): Use 'with-imported-modules'.
      (shepherd-configuration-file): Remove 'modules' and the calls to
      'imported-modules' and 'compiled-modules'.  Use
      'with-imported-modules' instead.
      * doc/guix.texi (Shepherd Services): Adjust accordingly.
      * gnu/services/base.scm (file-system-shepherd-service): Use
      'with-imported-modules'.  Remove 'imported-modules' field.
      * gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
      'imported-modules'.
      (open-luks-device): Use 'with-imported-modules'.
      * gnu/tests.scm (marionette-shepherd-service): Remove 'imported-modules'
      field and use 'with-imported-modules'.
      Unverified
      a91c3fc7
    • Ludovic Courtès's avatar
      gexp: 'gexp->file' emits code to set '%load-path'. · 2b418579
      Ludovic Courtès authored
      * guix/gexp.scm (gexp->file): Add #:set-load-path? parameter and honor it.
      * gnu/system.scm (operating-system-parameters-file): Pass
        #:set-load-path? #f.
      * doc/guix.texi (G-Expressions): Adjust accordingly.
      Unverified
      2b418579
    • 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.
      Unverified
      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.
      Unverified
      0bb9929e
  4. Jul 05, 2016
  5. Jun 27, 2016
  6. 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.
      Unverified
      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.
      Unverified
      eca69fc0
  7. Jun 22, 2016
  8. Jun 18, 2016
  9. 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'.
      Unverified
      a1b48465
  10. Jun 16, 2016
  11. 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.
      Unverified
      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.
      Unverified
      da675305
  12. 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
  13. Jun 12, 2016
  14. 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'.
      Unverified
      e4c7a5f7
  15. Jun 08, 2016
  16. Jun 05, 2016
  17. Jun 04, 2016
  18. Jun 03, 2016
  19. Jun 01, 2016
  20. 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.
      Unverified
      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>
      Unverified
      7f3b2510
  21. May 28, 2016
  22. May 26, 2016
  23. May 24, 2016
  24. 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.
      Unverified
      a773c314
Loading