diff options
author | Eric Bavier <bavier@member.fsf.org> | 2020-02-26 22:36:04 -0600 |
---|---|---|
committer | Guix Patches Tester <> | 2020-02-27 04:56:10 +0000 |
commit | c40e8a2b71b200ec31da05bc76485c5157ce3d88 (patch) | |
tree | 919ca4a976ad2c4eff06f0b37c5238422c0c498c /gnu/packages/cpp.scm | |
parent | c3435e2e60be3382863b3ae3061dff0ec8642151 (diff) | |
download | patches-series-3031.tar patches-series-3031.tar.gz |
guix: pack: Only wrap executable files.series-3031
Hello Guix,
This patch fixes some uses of relocatable git (e.g. octopus merge).
Previously, guix pack would wrap all files in "bin", "sbin", and "libexec",
even non-executable files. This would cause issues for git when its shell
scripts in libexec would try to source other shell files that had been
wrapped and were no longer a valid shell file.
I feel like a test should be added to tests/guix-pack-relocatable.sh, but
I'm not sure how to do that while keeping the test lightweight. Suggestions
welcome.
Cheers,
`~Eric
* guix/scripts/pack.scm (wrapped-package)<build>: Build wrappers for
executable files and symlink others.
Diffstat (limited to 'gnu/packages/cpp.scm')
0 files changed, 0 insertions, 0 deletions