diff options
author | Florian Klink <flokli@flokli.de> | 2024-02-17T06·19+0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-02-17T07·00+0000 |
commit | d4d46b9d8a9b7a2b6c160b8633964c64af9e8d01 (patch) | |
tree | 14b72e409157d3f5f731c2e5a47a4ffe8d29e5f4 /tvix/nix-compat/src/derivation/mod.rs | |
parent | 34a1ff291a0444b3e56f96e6cc72899ab818a2f7 (diff) |
feat(nix-compat/derivation): make fod_digest public r/7536
This will be used inside glue, to populate the CA field. Change-Id: I52350d66ad09c90c4e9f3bc6ea44fba4427f1576 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10946 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat/src/derivation/mod.rs')
-rw-r--r-- | tvix/nix-compat/src/derivation/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/derivation/mod.rs b/tvix/nix-compat/src/derivation/mod.rs index 5a59d640d65d..b876a215a22f 100644 --- a/tvix/nix-compat/src/derivation/mod.rs +++ b/tvix/nix-compat/src/derivation/mod.rs @@ -129,7 +129,7 @@ impl Derivation { /// TODO: this is kinda the string from [build_ca_path] with a /// [CAHash::Flat], what's fed to `build_store_path_from_fingerprint_parts` /// (except the out_output.path being an empty string) - fn fod_digest(&self) -> Option<[u8; 32]> { + pub fn fod_digest(&self) -> Option<[u8; 32]> { if self.outputs.len() != 1 { return None; } |