aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorClaudio Bley <claudio.bley@gmail.com>2023-03-24 17:25:17 +0100
committerClaudio Bley <claudio.bley@gmail.com>2023-03-24 17:25:17 +0100
commite7b9dc7c8999fd93f168f3e213fb546a5ed7ddd9 (patch)
tree6fb7007d44b44dd813b3a5440ef4a2edad703b2f /src
parente00abd3f566b16bb107d513925cf33b40cca35f4 (diff)
nix-store: Use `long` for `narSize` in graphml output
Diffstat (limited to 'src')
-rw-r--r--src/nix-store/graphml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/graphml.cc b/src/nix-store/graphml.cc
index 425d61e53..439557658 100644
--- a/src/nix-store/graphml.cc
+++ b/src/nix-store/graphml.cc
@@ -57,7 +57,7 @@ void printGraphML(ref<Store> store, StorePathSet && roots)
<< "<graphml xmlns='http://graphml.graphdrawing.org/xmlns'\n"
<< " xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'\n"
<< " xsi:schemaLocation='http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd'>\n"
- << "<key id='narSize' for='node' attr.name='narSize' attr.type='int'/>"
+ << "<key id='narSize' for='node' attr.name='narSize' attr.type='long'/>"
<< "<key id='name' for='node' attr.name='name' attr.type='string'/>"
<< "<key id='type' for='node' attr.name='type' attr.type='string'/>"
<< "<graph id='G' edgedefault='directed'>\n";