list-runtime-roots: Canonicalize store items.
authorLudovic Courtès <ludo@gnu.org>
Sun, 12 Nov 2017 21:16:28 +0000 (22:16 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 12 Nov 2017 21:42:17 +0000 (22:42 +0100)
commitfb17a89912c2a3738dae716e30481c11e1c6f0ac
treeb524221259b1a5d6ca8f37d54b6bf633e43982fa
parentb8f59cdc20e9d83ce63523ef917e95fcee07f134
list-runtime-roots: Canonicalize store items.

Looking at 'addAdditionalRoots' in libstore/gc.cc, it looks like it
should always have been this way.  In practice it probably doesn't make
much of a difference.

* nix/scripts/list-runtime-roots.in (canonicalize-store-item): New
procedure.
<top level>: Use it.
nix/scripts/list-runtime-roots.in