From abfca0ad1461c202f09468ad27bd7eed471911d1 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 17 Jun 2013 10:05:46 -0400 Subject: [PATCH] When printing submodule keys, print just the file name if known Signed-off-by: Shea Levy --- pkgs/lib/modules.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/lib/modules.nix b/pkgs/lib/modules.nix index 3d4ebc32512..ea38010cecc 100644 --- a/pkgs/lib/modules.nix +++ b/pkgs/lib/modules.nix @@ -82,7 +82,7 @@ rec { file = key; option = name; number = index; - outPath = "file ${toString file} option ${option} options number ${toString number}"; + outPath = key; }; in if lib.isModule module then { key = key_; } // module