Build slides with Nix

This commit is contained in:
Oliver Davies 2025-04-11 18:13:44 +01:00
parent e80aee1deb
commit 6f98c753c2
6 changed files with 111 additions and 131 deletions

19
justfile Normal file
View file

@ -0,0 +1,19 @@
alias b := build
_default:
just --list
build:
#!/usr/bin/env bash
selected=$(nix flake show --json | jq --raw-output '.packages["x86_64-linux"] | keys[]' | grep -v shared | fzf)
nix build \
--json \
--print-build-logs \
.#"$selected"
check:
nix flake check
clean:
rm -frv result