diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-14T18·06+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-03-14T20·53+0000 |
commit | 075dcbf1e0ac9e257069c1b23638c90547b9a3d2 (patch) | |
tree | 8d08517a7fe2afe7c7469015fa9aa2759ed3a881 /tvix/nix-compat/src | |
parent | 8cfd303203e9647ed7b1cec1cabd241834a81833 (diff) |
fix(tvix/store/derivation): fix comment r/5997
The digest is encoded in LOWERHEX here, not nixbase32. Change-Id: I8e14742f0135966424073bfdb93ada8cd7bd52e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8300 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat/src')
-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 e0e18823c5d9..c0f0ba169684 100644 --- a/tvix/nix-compat/src/derivation/mod.rs +++ b/tvix/nix-compat/src/derivation/mod.rs @@ -288,7 +288,7 @@ impl Derivation { if fixed_output_hash.algo == "r:sha256" { s.push_str(&format!( "source:sha256:{}", - fixed_output_hash.digest, // nixbase32 + fixed_output_hash.digest, // lowerhex )); } else { s.push_str("output:out:"); |