Skip to content
Snippets Groups Projects
  1. Sep 27, 2020
    • Ludovic Courtès's avatar
      packages: 'package-input-rewriting' has a #:deep? parameter. · 8819551c
      Ludovic Courtès authored
      * guix/packages.scm (package-input-rewriting): Add #:deep? and pass it
      to 'package-mapping'.
      [replacement-property]: New variable.
      [rewrite]: Check it.
      [cut?]: New procedure.
      * tests/packages.scm ("package-input-rewriting"): Pass #:deep? #f and
      ensure implicit inputs were not rewritten.  Avoid 'eq?' comparisons.
      ("package-input-rewriting, deep"): New test.
      * gnu/packages/guile.scm (package-for-guile-2.0, package-for-guile-3.0):
      Pass #:deep? #f.
      8819551c
    • Ludovic Courtès's avatar
      packages: 'package-mapping' correctly recurses into 'replacement'. · b3fc03ee
      Ludovic Courtès authored
      Previously, something like:
      
        guix build glib --with-graft=glibc=glibc@2.29
      
      would produce a result showing that rewriting rules were not applied to
      libx11@1.6.A (a replacement).
      
      * guix/packages.scm (package-mapping): Call REPLACE instead of PROC to
      'replacement'.
      * tests/packages.scm ("package-input-rewriting/spec, graft"): New test.
      b3fc03ee
    • Ludovic Courtès's avatar
      packages: 'package-input-rewriting/spec' can rewrite implicit dependencies. · 2bf6f962
      Ludovic Courtès authored
      With this change, '--with-input', '--with-graft', etc. also apply to
      implicit dependencies.  Thus, it's now possible to do:
      
        guix build python-itsdangerous --with-input=python-wrapper=python@2
      
      or:
      
        guix build hello --with-graft=glibc=glibc@2.29
      
      Additionally, before, implicit inputs were not rewritten, which could
      lead to duplicates in the output of 'bag-transitive-inputs' (packages
      that are not 'eq?' but lead to the same derivation).  This in turn would
      lead to unnecessary rebuilds when using '--with-input' & co.  This
      change fixes it by ensuring even implicit inputs are rewritten.
      
      Fixes <https://bugs.gnu.org/42156>.
      
      * guix/packages.scm (package-input-rewriting/spec): Add #:deep?
      defaulting to #true, and pass it to 'package-mapping'.
      [replacement-property]: New variable.
      [rewrite]: Check that property and set it on the result of PROC.
      [cut?]: New procedure.
      * tests/packages.scm ("package-input-rewriting/spec"): Ensure implicit
      inputs were unchanged.
      ("package-input-rewriting/spec, partial match"): Pass #:deep? #f.
      ("package-input-rewriting/spec, deep")
      ("package-input-rewriting/spec, no duplicates"): New tests.
      (package/inherit): Move before use.
      * tests/guix-build.sh: Add tests.
      * tests/scripts-build.scm ("options->transformation, with-graft"):
      Compare dependencies by package name or derivation file name.
      * doc/guix.texi (Defining Packages): Adjust accordingly.
      2bf6f962
    • Ludovic Courtès's avatar
      packages: 'package-mapping' can recurse on implicit inputs. · ff39361c
      Ludovic Courtès authored
      * guix/packages.scm (build-system-with-package-mapping): New procedure.
      (package-mapping): Add #:deep? and honor it.
      * tests/packages.scm ("package-mapping"): Compare the direct inputs of
      the bag of P0 and that of P1.
      ("package-mapping, deep"): New test.
      ff39361c
    • Ludovic Courtès's avatar
      guix build: Add '--without-tests'. · f458cfbc
      Ludovic Courtès authored
      * guix/scripts/build.scm (transform-package-tests): New procedure.
      (%transformations, %transformation-options)
      show-transformation-options-help): Add it.
      * tests/scripts-build.scm ("options->transformation, without-tests"):
      New test.
      * doc/guix.texi (Package Transformation Options): Document it.
      f458cfbc
    • Pierre Neidhardt's avatar
      gnu: bbswitch-module: Fix build on Linux >= 5.6. · d753aee0
      Pierre Neidhardt authored
      * gnu/packages/linux.scm (bbswitch-module): Update to 20200526.
      d753aee0
    • Nicolas Goaziou's avatar
      gnu: emacs-mood-line: Fix license. · f1f076c9
      Nicolas Goaziou authored
      * gnu/packages/emacs-xyz.scm (emacs-mood-line)[license]: Switch to GPL2+.
      f1f076c9
    • AuPath's avatar
      gnu: Add emacs-mood-line. · 0bf662b3
      AuPath authored
      
      * gnu/packages/emacs-xyz.scm (emacs-mood-line): New variable.
      
      Signed-off-by: default avatarNicolas Goaziou <mail@nicolasgoaziou.fr>
      0bf662b3
    • Stefan's avatar
      doc: Document new bootloader grub-efi-netboot-bootloader. · 740fd97e
      Stefan authored
      
      * doc/guix.texi (Bootloader Configuration)[bootloader]: Add
      grub-efi-netboot-bootloader.
      [target]: Document TFTP root directory for grub-efi-netboot-bootloader.
      
      Signed-off-by: default avatarDanny Milosavljevic <dannym@scratchpost.org>
      740fd97e
    • Stefan's avatar
      gnu: grub: Support for network boot via TFTP. · c85f316a
      Stefan authored
      
      * gnu/bootloader/grub.scm (grub-efi-netboot-bootloader): New variable.
      (install-grub-efi-netboot): New procedure.
      (grub-root-search): Update comment.
      
      Signed-off-by: default avatarDanny Milosavljevic <dannym@scratchpost.org>
      c85f316a
    • Efraim Flashner's avatar
      gnu: gama: Update to 2.10. · 59223c5b
      Efraim Flashner authored
      * gnu/packages/gps.scm (gama): Update to 2.10.
      59223c5b
  2. Sep 26, 2020
  3. Sep 25, 2020
Loading