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=minor-fixes&rev=ec4b03d9b226e44290fbe3e9018f3b0cd30507ab&shallow=1#formatter.x86_64-linux' \
--print-build-logs
Locally
Must be run from repository root directory at commit ec4b03d9
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 ec4b03d9
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