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.
This commit is contained in:
John Ericson 2023-01-14 17:12:42 -05:00
parent 7c82213813
commit 30610f260d

View file

@ -20,7 +20,7 @@ rec {
name = "text-hashed-root.drv"; name = "text-hashed-root.drv";
buildCommand = '' buildCommand = ''
echo "Copying the derivation" echo "Copying the derivation"
cp ${root.drvPath} $out cp ${builtins.unsafeDiscardOutputDependency root.drvPath} $out
''; '';
__contentAddressed = true; __contentAddressed = true;
outputHashMode = "text"; outputHashMode = "text";