Build slides with Nix
This commit is contained in:
parent
e80aee1deb
commit
6f98c753c2
6 changed files with 111 additions and 131 deletions
19
justfile
Normal file
19
justfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue