about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation/validate.rs
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-27T10·53+0000
committeredef <edef@edef.eu>2023-10-27T12·18+0000
commit99a61def17edbd77795efd2fda9e557b2cfef571 (patch)
treed8b5309b160213d5bf4991dfe7fdcf61952bddc0 /tvix/nix-compat/src/derivation/validate.rs
parentfdc2e90ef2e64224f4f778f2a26bbfeb02afde2b (diff)
fix(tvix/nix-compat): don't box CAHash::Text r/6886
Change-Id: I31df3909bc21c9038f9fb831879e60e541242819
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9853
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix-compat/src/derivation/validate.rs')
-rw-r--r--tvix/nix-compat/src/derivation/validate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/derivation/validate.rs b/tvix/nix-compat/src/derivation/validate.rs
index 3474dcb5dbbb..37ddf9017138 100644
--- a/tvix/nix-compat/src/derivation/validate.rs
+++ b/tvix/nix-compat/src/derivation/validate.rs
@@ -141,7 +141,7 @@ mod test {
             "out".to_string(),
             Output {
                 path: "".to_string(),
-                ca_hash: Some(CAHash::Text(Box::new([0; 32]))), // This is disallowed
+                ca_hash: Some(CAHash::Text([0; 32])), // This is disallowed
             },
         );