diff --git a/tests/ca/text-hashed-output.nix b/tests/ca/text-hashed-output.nix index 23434c0a1..31a66dfa8 100644 --- a/tests/ca/text-hashed-output.nix +++ b/tests/ca/text-hashed-output.nix @@ -20,7 +20,7 @@ rec { name = "text-hashed-root.drv"; buildCommand = '' echo "Copying the derivation" - cp ${root.drvPath} $out + cp ${builtins.unsafeDiscardOutputDependency root.drvPath} $out ''; __contentAddressed = true; outputHashMode = "text";