-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
27 lines (22 loc) · 664 Bytes
/
Justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Make README
make-readme:
python3 ./docs/make_readme.py
# Update and rebuild all packages (for testing)
update: update-inputs build-all
# Update flake's inputs
update-inputs:
nix flake update
# Build all packages
build-all:
nix flake show --json 2>/dev/null \
| jq '.packages."x86_64-linux"|keys[]' \
| xargs -I {} nix build .#{}
# Rebuild all packages
rebuild-all:
nix flake show --json 2>/dev/null \
| jq '.packages."x86_64-linux"|keys[]' \
| xargs -I {} nix build --rebuild .#{}
# Update Spriggit deps
update-spriggit:
nix build .#spriggit.passthru.fetch-deps \
&& ./result ./pkgs/spriggit/deps.nix