···4343 lib.hasSuffix ".o" baseName ||
4444 lib.hasSuffix ".so" baseName ||
4545 # Filter out nix-build result symlinks
4646- (type == "symlink" && lib.hasPrefix "result" baseName)
4646+ (type == "symlink" && lib.hasPrefix "result" baseName) ||
4747+ # Filter out sockets and other types of files we can't have in the store.
4848+ (type == "unknown")
4749 );
48504951 # Filters a source tree removing version control files and directories using cleanSourceWith