+1
-1
lib/fileset/default.nix
+1
-1
lib/fileset/default.nix
···lib.fileset.fromSource: The source origin of the argument is of type ${typeOf path}, but it should be a path instead.''-lib.fileset.fromSource: The source origin (${toString path}) of the argument does not exist.''+lib.fileset.fromSource: The source origin (${toString path}) of the argument is a path that does not exist.''
+4
-4
lib/fileset/internal.nix
+4
-4
lib/fileset/internal.nix
······
+6
-1
lib/fileset/tests.sh
+6
-1
lib/fileset/tests.sh
···-expectFailure 'fromSource null' 'lib.fileset.fromSource: The source origin of the argument is of type null, but it should be a path instead.'expectFailure 'fromSource (lib.cleanSource "")' 'lib.fileset.fromSource: The source origin of the argument is a string-like value \(""\), but it should be a path instead.\s*Sources created from paths in strings cannot be turned into file sets, use `lib.sources` or derivations instead.'+expectFailure 'fromSource null' 'lib.fileset.fromSource: The source origin of the argument is of type null, but it should be a path instead.'expectFailure 'fromSource (lib.cleanSource null)' 'lib.fileset.fromSource: The source origin of the argument is of type null, but it should be a path instead.'+expectFailure 'fromSource ./a' 'lib.fileset.fromSource: The source origin \('"$work"'/a\) of the argument is a path that does not exist.'