[bug]: Install script won't work on NixOS because of absolute path /bin/bash
Open
@srinivaspendem is already working on this.
Since May 26, 2024.
🐛bug
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When I run script.sh as per instructions for self-hosting the script fails on NixOS as it cannot find bash at /bin/bash. Packages at NixOS are kept in so-called nix store and made available to the remaining parts of the system through properly set env vars and symbolic links so this simply won't work. The fix for NixOS is very easy, I just replaced /bin/bash with bash. I don't know however the purpose of such reference to bash so I will stop myself from submitting a PR just yet.
Steps to reproduce
- Go to docs.plane.so/self-hosting/methods/docker-compose
- Use NixOS as OS
- Follow instructions
Environment
Production
Browser
None
Variant
Self-hosted
Version
v0.20-dev
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.