Show string in error message

This commit is contained in:
Eelco Dolstra 2023-01-10 14:56:03 +01:00
parent b80e4b57da
commit b4dc68f0be

View file

@ -636,7 +636,7 @@ DerivedPathsWithInfo InstallableFlake::toDerivedPaths()
}
}};
} else
throw Error("flake output attribute '%s' evaluates to a string that does not denote a store path", attrPath);
throw Error("flake output attribute '%s' evaluates to the string '%s' which is not a store path", attrPath, s);
}
else