aboutsummaryrefslogtreecommitdiff
path: root/tests/ca/text-hashed-output.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-14 17:12:42 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-14 17:12:42 -0500
commit30610f260d61964a4d91e7f7f590f621ea03fef6 (patch)
tree57af235f504e029faa8977d59d1c34062b0a8fac /tests/ca/text-hashed-output.nix
parent7c822138134af3771dc017c7399507af4a25004f (diff)
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.
Diffstat (limited to 'tests/ca/text-hashed-output.nix')
-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";