On Fri 21 May 2021 at 14:58, Théo Cavignac <[email protected]> wrote:
> The dust project (https://sr.ht/~evhan/dust/) solved this by putting a 
> placeholder 256 * "X" instead of the path in binaries, then editing the 
> binaries in place when installing in your location.

if you build the binary using nix, the paths will be long already

 (eepitch-shell)
 (eepitch-kill)
 (eepitch-shell)
nix-shell -p chicken
cat $(which csi)
strings \
/nix/store/x8i2vgnvdd5vr0njicpav6bvzws4l5ps-chicken-5.2.0/bin/.csi-wrapped \
| grep nix/store

/nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/ld-linux-x86-64.so.2
/nix/store/x8i2vgnvdd5vr0njicpav6bvzws4l5ps-chicken-5.2.0/lib:/nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib
/nix/store/x8i2vgnvdd5vr0njicpav6bvzws4l5ps-chicken-5.2.0

Reply via email to