When printing submodule keys, print just the file name if known

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-06-17 10:05:46 -04:00
parent 6d64b1d92c
commit abfca0ad14

View file

@ -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