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@github.com/sellout/dotfiles?ref=fix-cask-trust&rev=bad2b150b9bc5eb3e9933d1fb9025097b2689ba3&shallow=1#formatter.x86_64-linux' \
--print-build-logs
Locally
Must be run from repository root directory at commit bad2b150
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 bad2b150
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