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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user