Build slides with Nix

This commit is contained in:
Oliver Davies 2025-04-11 18:13:44 +01:00
parent e80aee1deb
commit 50662bffcc
10 changed files with 175 additions and 153 deletions

19
justfile Normal file
View file

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