guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Noteworthy ‘guix package’ and ‘guix pull’ bug fixes


From: Ludovic Courtès
Subject: Noteworthy ‘guix package’ and ‘guix pull’ bug fixes
Date: Fri, 06 Feb 2015 18:09:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Let me draw your attention to these two noteworthy bug fixes since
everyone is likely to have been hit by those two bugs:

commit c9323a4c69d48bc9af3825674e43a3febbb42091
Author: Ludovic Courtès <address@hidden>
Date:   Fri Feb 6 17:52:07 2015 +0100

    guix package: Make custom profiles actual indirect roots.
    
    Before that, any profile generation built when '-p' is used would
    effectively become a permanent GC root because the symlink in
    /var/guix/gcroots/auto would point directly to /gnu/store/...-profile.
    
    * guix/scripts/package.scm (maybe-register-gc-root): Rename to...
      (register-gc-root): ... this.  Remove conditional, and replace call to
      'canonicalize-path' with (string-append (getcwd) "/" ...).
      (guix-package): Call 'register-gc-root' only if PROFILE is different
      from %CURRENT-PROFILE.
    * tests/guix-package.sh: Add test case.

commit 3df5acf332fd7b5c21c09961eaa5353c1bd08c60
Author: Ludovic Courtès <address@hidden>
Date:   Fri Feb 6 17:39:10 2015 +0100

    pull: Always install the ~/.config/guix/latest symlink.
    
    Before that, if two users on the same machine ran 'guix pull', the
    second one would have the "Guix already up to date" message and their
    ~/.config/guix/latest link would be left unchanged---effectively
    preventing them from updating.
    
    * guix/scripts/pull.scm (build-and-install): Install the 'latest'
      symlink regardless of whether TO-DO? is true or false.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]