Skip to content
Snippets Groups Projects
  1. Jun 16, 2016
    • 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
  2. 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
  3. 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
  4. Jun 12, 2016
  5. 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
  6. Jun 08, 2016
  7. Jun 05, 2016
  8. Jun 04, 2016
  9. Jun 03, 2016
  10. Jun 01, 2016
  11. 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
  12. 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
  13. May 26, 2016
  14. 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
    • Mathieu Lirzin's avatar
      build: Use "%D%" in Makefile fragments. · c0d2e7b1
      Mathieu Lirzin authored
      * doc/local.mk: Use "%D%" for the directory of the fragment relative to
      the base 'Makefile.am'.
      * emacs/local.mk: Likewise.
      * gnu/local.mk: Likewise.
      * nix/local.mk: Likewise.
      c0d2e7b1
  15. 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
  16. 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
  17. May 11, 2016
  18. May 10, 2016
    • Alex Kost's avatar
      emacs: Add 'guix-package-from-file' command. · f8476e17
      Alex Kost authored
      * emacs/guix-main.scm (register-package, packages-from-file): New procedures.
      (%patterns-makers): Add 'from-file' search type.
      * emacs/guix-messages.el (guix-messages): Add messages for it.
      * emacs/guix-ui-package.el (guix-package-from-file): New command.
      (guix-package-info-insert-location): Adjust for 'from-file' type.
      * doc/emacs.texi (Emacs Commands): Document it.
      f8476e17
  19. May 08, 2016
  20. 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
  21. Apr 27, 2016
  22. Apr 26, 2016
  23. Apr 25, 2016
  24. 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
  25. Apr 20, 2016
  26. Apr 19, 2016
  27. Apr 18, 2016
    • Alex Kost's avatar
      emacs: Add interface for package locations. · b4b9975d
      Alex Kost authored
      * emacs/guix-main.scm (%package-location-param-alist): New variable.
      (package-location->sexp, package-location-entries): New procedures.
      * emacs/guix-ui-location.el: New file.
      * emacs.am (ELFILES): Add it.
      * doc/emacs.texi (Emacs Package Locations): Document 'guix-locations'.
      * NEWS: Mention it.
      b4b9975d
    • Alex Kost's avatar
      doc: emacs: Add "Package Source Locations" section. · b5e3cbbb
      Alex Kost authored
      * doc/emacs.texi (Emacs Commands): Move description of 'guix-edit'
      command to...
      (Emacs Package Locations): ... here.  Document 'guix-find-location'.
      New node.
      * doc/guix.texi (Top): Add it.
      b5e3cbbb
    • Alex Kost's avatar
      emacs: Add 'guix-packages-by-location' command. · b4ea535a
      Alex Kost authored
      
      * emacs/guix-main.scm (packages-by-location-file, package-location-files):
      New procedures.
      (%patterns-makers): Add 'location' search type.
      * emacs/guix-messages.el (guix-message-packages-by-location): New procedure.
      (guix-messages): Use it.
      * emacs/guix-read.el (guix-package-locations)
      (guix-read-package-location): New procedures.
      * emacs/guix-ui-package.el (guix-packages-by-location): New command.
      * doc/emacs.texi (Emacs Commands): Document it.
      
      Co-authored-by: default avatarLudovic Courtès <ludo@gnu.org>
      b4ea535a
  28. Apr 17, 2016
    • Ludovic Courtès's avatar
      mapped-devices: LUKS partitions can be designated by their UUID. · ffba7d49
      Ludovic Courtès authored
      * gnu/system/mapped-devices.scm (device-mapping-service-type): Add
      'modules' and 'imported-modules' fields to 'shepherd-service'.
      (open-luks-device): Use 'find-partition-by-luks-uuid' to lookup the
      partition when SOURCE is a bytevector.
      * gnu/system/linux-initrd.scm (base-initrd): Augment 'use-modules'
      form.
      * doc/guix.texi (Mapped Devices): Give example with a UUID.
      ffba7d49
    • Alex Kost's avatar
      services: 'console-keymap-service' takes multiple files. · b3d05f48
      Alex Kost authored
      * gnu/services/base.scm (console-keymap-service-type): Type procedure
      takes a list of files instead of a single file.
      (console-keymap-service): Take 'files' as rest arguments.
      * doc/guix.texi (Base Services): Improve documentation of
      'console-keymap-service'.
      b3d05f48
  29. Apr 16, 2016
Loading