···43 lib.hasSuffix ".o" baseName ||
44 lib.hasSuffix ".so" baseName ||
45 # Filter out nix-build result symlinks
46- (type == "symlink" && lib.hasPrefix "result" baseName)
0047 );
4849 # Filters a source tree removing version control files and directories using cleanSourceWith
···43 lib.hasSuffix ".o" baseName ||
44 lib.hasSuffix ".so" baseName ||
45 # Filter out nix-build result symlinks
46+ (type == "symlink" && lib.hasPrefix "result" baseName) ||
47+ # Filter out sockets and other types of files we can't have in the store.
48+ (type == "unknown")
49 );
5051 # Filters a source tree removing version control files and directories using cleanSourceWith