Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[staging] setup-hooks/strip: more robust stripping #104163

Merged
merged 1 commit into from Dec 8, 2020
Merged

Conversation

ehmry
Copy link
Contributor

@ehmry ehmry commented Nov 18, 2020

Use "find -exec" to strip rather than "find … | xargs …". The former
ensures that stripping is attempted for each file, whereas the latter
will stop stripping at the first failure. Unstripped files can fool
runtime dependency detection and bloat closure sizes.

Use "find -exec" to strip rather than "find … | xargs …". The former
ensures that stripping is attempted for each file, whereas the latter
will stop stripping at the first failure. Unstripped files can fool
runtime dependency detection and bloat closure sizes.
@FRidh FRidh merged commit e4d17dc into NixOS:staging Dec 8, 2020
@ehmry ehmry deleted the strip branch December 10, 2020 21:26
@SuperSandro2000
Copy link
Member

Can we add the 2>/dev/null to silence a lot of errors like strip:/nix/store/n87skynl3rym4n1v9m8c8sxs5dg9nvb9-python3.8-cfn-lint-0.35.1/lib/python3.8/site-packages/cfnlint/rules/resources/ectwo/__pycache__/Ebs.cpython-38.pyc: file format not recognized especially when building python or js projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants