mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
* Use the new ATermMap.
This commit is contained in:
parent
9840368cad
commit
0832956089
10 changed files with 194 additions and 336 deletions
|
@ -348,7 +348,7 @@ static void queryInstSources(EvalState & state,
|
|||
assertStorePath(*i);
|
||||
|
||||
DrvInfo elem;
|
||||
elem.attrs = shared_ptr<ATermMap>(new ATermMap()); /* ugh... */
|
||||
elem.attrs = shared_ptr<ATermMap>(new ATermMap(0)); /* ugh... */
|
||||
string name = baseNameOf(*i);
|
||||
unsigned int dash = name.find('-');
|
||||
if (dash != string::npos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue