Merge pull request #138258 from alyssais/cleanSource-socket

lib.cleanSource: ignore sockets

authored by

Jörg Thalheim and committed by
GitHub
63a2fd8f 079f6b27

+3 -1
+3 -1
lib/sources.nix
··· 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 ); 48 49 # 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 ); 50 51 # Filters a source tree removing version control files and directories using cleanSourceWith