Add task to Justfile to build package
This commit is contained in:
parent
6161704d49
commit
9f4f6471c0
1 changed files with 8 additions and 1 deletions
9
Justfile
9
Justfile
|
@ -7,7 +7,14 @@ update:
|
|||
nix flake update --commit-lock-file
|
||||
|
||||
build machine="":
|
||||
nixos-rebuild --flake .#{{machine}} build
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
nixos-rebuild --flake .#{{machine}} --log-format internal-json build |& nom --json
|
||||
|
||||
pkg name:
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
nix build --log-format internal-json -v .#{{name}} |& nom --json
|
||||
|
||||
diff:
|
||||
nvd diff /run/current-system ./result
|
||||
|
|
Loading…
Reference in a new issue