Hi there!
I've started to use the template, and I'm trying to build and test it on my current system, that is NixOS.
To make things work, I had to make some ajdustments to the Justfile:
- change each shebang from
#!/usr/bin/bash to #!/usr/bin/env bash
- change each occurence of
/usr/bin/sudo to just sudo; the same with find and numfmt
- since the primary group of my user has not the same name of the user itself, I had to change the chown command in
_build-bib to
GROUP=$(id -gn $USER)
sudo chown -R $USER:$GROUP output/
I didn't test this on other distributions, so I'm not 100% sure this is a global fix.
Also, if jq isn't installed the build task errors with a weird issue caused by podman trying to pull the image from localhost.
The other missing commands errors are more clear, but it may be useful to state in the readme that the tasks needs:
- jq
- shellcheck
- shfmt
and of course podman and qemu + qemu-utils
Hi there!
I've started to use the template, and I'm trying to build and test it on my current system, that is NixOS.
To make things work, I had to make some ajdustments to the Justfile:
#!/usr/bin/bashto#!/usr/bin/env bash/usr/bin/sudoto justsudo; the same withfindandnumfmt_build-bibtoI didn't test this on other distributions, so I'm not 100% sure this is a global fix.
Also, if
jqisn't installed the build task errors with a weird issue caused by podman trying to pull the image from localhost.The other missing commands errors are more clear, but it may be useful to state in the readme that the tasks needs:
and of course podman and qemu + qemu-utils