Exactly
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths 'git+ssh://git@gitlab.com/mtlynch/screenjournal?ref=master&rev=c699d2d6516b359645e16fc85173d91bbad051dd&shallow=1#formatter.x86_64-linux' \
--print-build-logs
Locally
Must be run from repository root directory at commit c699d2d6
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths .#formatter.x86_64-linux \
--print-build-logs
Feedback Loop
Must be run from repository root directory at commit c699d2d6
nix run github:NorfairKing/feedback -- -- nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
--log-format raw-with-logs \
build --no-link --print-out-paths .#formatter.x86_64-linux \
--print-build-logs
Limitations