diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-11 23:50:16 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-03-24 14:26:23 +0100 |
commit | 777e21e596ec85f18eddf8b286d9ba4995010835 (patch) | |
tree | 5bd690c3111672c5e57c79081d309e5eb76647a2 /src/nix | |
parent | 7a8de57d3e7e53a4f6d8060c7201f3fbbe6cd325 (diff) |
nix path-info --json: Print hash in SRI format
(cherry picked from commit 442e665d6d3fcbdee7dece2f62a597142f8784b1)
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/path-info.cc | 2 |
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 { |