ublue-os / toolboxes

Centralized repository of containers designed for Toolbox/Distrobox
Apache License 2.0
66 stars 14 forks source link

gnu stow (installed from brew) not working in bluefin-cli #85

Open PascalGrosse opened 6 months ago

PascalGrosse commented 6 months ago

I installed stow with brew inside bluefin-cli, but it doesn't work: it seems /usr/bin/perl is hardcoded in the first line of the script, but there is no perl inside bluefin-cli.

Btw, stow works perfectly when installed from brew on the host.

PascalGrosse commented 6 months ago

I just found a simple workaround:

sudo ln -s /usr/bin/distrobox-host-exec /usr/bin/perl

Should it be included at the container level ?

m2Giles commented 6 months ago

Yepp, brew is outside of your homedir so it is not automatically mounted into the container.

Bluefin-cli has a separate install of brew that lives inside of your homedir