aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ca/text-hashed-output.nix2
1 files changed, 1 insertions, 1 deletions
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";