From 30610f260d61964a4d91e7f7f590f621ea03fef6 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sat, 14 Jan 2023 17:12:42 -0500 Subject: [PATCH] Use `builtins.unsafeDiscardOutputDependency` in the ca/text-hash-out test We don't want to build that drv file yet, just depend on it itself. --- tests/ca/text-hashed-output.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";