mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
This commit is contained in:
parent
83dfa89870
commit
1a8eb6e3ec
1 changed files with 2 additions and 0 deletions
|
@ -32,8 +32,10 @@ static void showAttrs(EvalState & state, bool strict, bool location,
|
||||||
Bindings & attrs, XMLWriter & doc, PathSet & context, PathSet & drvsSeen)
|
Bindings & attrs, XMLWriter & doc, PathSet & context, PathSet & drvsSeen)
|
||||||
{
|
{
|
||||||
StringSet names;
|
StringSet names;
|
||||||
|
|
||||||
foreach (Bindings::iterator, i, attrs)
|
foreach (Bindings::iterator, i, attrs)
|
||||||
names.insert(i->first);
|
names.insert(i->first);
|
||||||
|
|
||||||
foreach (StringSet::iterator, i, names) {
|
foreach (StringSet::iterator, i, names) {
|
||||||
Attr & a(attrs[state.symbols.create(*i)]);
|
Attr & a(attrs[state.symbols.create(*i)]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue