makeInitrd: explain why we don't use closureInfo

/cc #36268.
This commit is contained in:
Vladimír Čunát 2018-03-05 13:04:27 +01:00
parent 165b32d386
commit a373fe8322
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -31,6 +31,8 @@ stdenv.mkDerivation rec {
suffices = map (x: if x ? suffix then x.suffix else "none") contents;
# For obtaining the closure of `contents'.
# Note: we don't use closureInfo yet, as that won't build with nix-1.x.
# See #36268.
exportReferencesGraph =
map (x: [("closure-" + baseNameOf x.symlink) x.object]) contents;
pathsFromGraph = ./paths-from-graph.pl;