nixos-x13s/justfile

13 lines
302 B
Makefile
Raw Normal View History

2024-05-14 22:14:22 +02:00
all:
just -l
find-targets:
nix eval .#packages.aarch64-linux --apply 'builtins.attrNames' --json | jq '. | map(".#" + .) | join(" ")' -r > targets
build:
nix build --print-out-paths --keep-going $(cat targets) > outputs
cat outputs
push:
cachix -- push nixos-x13s $(cat outputs)