aboutsummaryrefslogtreecommitdiff
path: root/src/nix/path-info.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-11 23:50:16 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-11 23:50:16 +0100
commit442e665d6d3fcbdee7dece2f62a597142f8784b1 (patch)
tree1a932eef1777ff8536669ac0d9cef8f859df0695 /src/nix/path-info.cc
parentd2032edb2f86e955a8a7724a27c0c3225f386500 (diff)
nix path-info --json: Print hash in SRI format
Diffstat (limited to 'src/nix/path-info.cc')
-rw-r--r--src/nix/path-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/path-info.cc b/src/nix/path-info.cc
index bffa7b356..45ec297d2 100644
--- a/src/nix/path-info.cc
+++ b/src/nix/path-info.cc
@@ -89,7 +89,7 @@ struct CmdPathInfo : StorePathsCommand, MixJSON
store->pathInfoToJSON(jsonRoot,
// FIXME: preserve order?
storePathsToSet(storePaths),
- true, showClosureSize, AllowInvalid);
+ true, showClosureSize, SRI, AllowInvalid);
}
else {