We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1b982 commit a5ea404Copy full SHA for a5ea404
pkgs/bits-uberjar/default.nix
@@ -123,6 +123,9 @@
123
# Remove .git directories from libs (but keep _repos which are bare repos)
124
find $out/gitlibs/libs -type d -name '.git' -prune -exec rm -rf {} \; 2>/dev/null || true
125
126
+ # Remove hooks from bare repos (contain bash shebangs)
127
+ find $out/gitlibs/_repos -type d -name 'hooks' -prune -exec rm -rf {} \; 2>/dev/null || true
128
+
129
# Strip store refs from all files
130
find $out -type f -print0 | while IFS= read -r -d "" f; do
131
remove-references-to -t ${bash} "$f" 2>/dev/null || true
0 commit comments