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:
parent
7c82213813
commit
30610f260d
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue