From a373fe8322256817aef2589504dc4655d9d5906a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= <vcunat@gmail.com>
Date: Mon, 5 Mar 2018 13:04:27 +0100
Subject: [PATCH] makeInitrd: explain why we don't use closureInfo

/cc #36268.
---
 pkgs/build-support/kernel/make-initrd.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkgs/build-support/kernel/make-initrd.nix b/pkgs/build-support/kernel/make-initrd.nix
index 5353ae828410..262bee608edd 100644
--- a/pkgs/build-support/kernel/make-initrd.nix
+++ b/pkgs/build-support/kernel/make-initrd.nix
@@ -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;