You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NixOS by default doesn't ship with /bin/bash, rather /usr/bin/env bash is the way to get the right bash.
This caused two issues on NixOS:
1. The `push` button on the web interface would fail with ` ! [remote rejected] <commit> -> <branch> (pre-receive hook declined)`
2. `make` would result in an error
On the host side, for 1 you could see `fatal: cannot exec '/tmp/sketch-git-hooks-3993344797/pre-receive': No such file or directory`, and for 2, you could similarly see `make: ./build/webui.sh: No such file or directory`
This fixes both of those errors by updating to more portable shebangs.
```
0 commit comments