about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/derivation')
-rw-r--r--tvix/nix-compat/src/derivation/mod.rs14
1 files changed, 6 insertions, 8 deletions
diff --git a/tvix/nix-compat/src/derivation/mod.rs b/tvix/nix-compat/src/derivation/mod.rs
index f3a4cd6b04e4..ab1471165549 100644
--- a/tvix/nix-compat/src/derivation/mod.rs
+++ b/tvix/nix-compat/src/derivation/mod.rs
@@ -209,14 +209,12 @@ impl Derivation {
                     |e| DerivationError::InvalidOutputDerivationPath(output_name.to_string(), e),
                 )?
             } else {
-                build_output_path(derivation_or_fod_hash, &output_name, &path_name).map_err(
-                    |e| {
-                        DerivationError::InvalidOutputDerivationPath(
-                            output_name.to_string(),
-                            store_path::BuildStorePathError::InvalidName(e),
-                        )
-                    },
-                )?
+                build_output_path(derivation_or_fod_hash, output_name, &path_name).map_err(|e| {
+                    DerivationError::InvalidOutputDerivationPath(
+                        output_name.to_string(),
+                        store_path::BuildStorePathError::InvalidName(e),
+                    )
+                })?
             };
 
             output.path = abs_store_path.to_absolute_path();