expectFailure 'toSource { root = ./a; fileset = difference ./. ./a; }''lib.fileset.toSource: `fileset` could contain files in '"$work"', which is not under the `root` \('"$work"'/a\). Potential solutions:
\s*- Set `root` to '"$work"' or any directory higher up. This changes the layout of the resulting store path.
\s*- Set `fileset` to a file set that cannot contain files outside the `root` \('"$work"'/a\). This could change the files included in the result.'
rm-rf--*
# Difference actually works
# We test all combinations of ./., ./a, ./a/x and ./b