Skip to content

Commit

Permalink
makeInitrd: explain why we don't use closureInfo
Browse files Browse the repository at this point in the history
/cc #36268.
  • Loading branch information
vcunat committed Mar 5, 2018
1 parent 165b32d commit a373fe8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/build-support/kernel/make-initrd.nix
Expand Up @@ -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;
Expand Down

0 comments on commit a373fe8

Please sign in to comment.