mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
* Swap the system and version comparion columns.
This commit is contained in:
parent
62412c5874
commit
dfbf520ec2
1 changed files with 2 additions and 2 deletions
|
@ -800,8 +800,6 @@ static void opQuery(Globals & globals,
|
|||
|
||||
if (printName) columns.push_back(i->name);
|
||||
|
||||
if (printSystem) columns.push_back(i->system);
|
||||
|
||||
if (compareVersions) {
|
||||
/* Compare this element against the versions of the same
|
||||
named packages in either the set of available elements,
|
||||
|
@ -822,6 +820,8 @@ static void opQuery(Globals & globals,
|
|||
columns.push_back(column);
|
||||
}
|
||||
|
||||
if (printSystem) columns.push_back(i->system);
|
||||
|
||||
if (printDrvPath) columns.push_back(
|
||||
i->queryDrvPath(globals.state) == ""
|
||||
? "-" : i->queryDrvPath(globals.state));
|
||||
|
|
Loading…
Reference in a new issue