Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .machine_readable/setup-prover-env.k9.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ K9!
description = "Confirm the tools the sanctioned paths need are present",
# An enabled path whose tool is missing fails here, loudly; a disabled
# path is not checked. Nothing is skipped silently.
# `just` is checked only when a path that calls it is enabled: the
# container build and the doctor. A Guix-only install runs `guix` alone.
commands =
["command -v just >/dev/null 2>&1 || { echo 'just not found'; exit 1; }"]
(if config.use_sealed_containers || config.run_doctor then ["command -v just >/dev/null 2>&1 || { echo 'just not found but config.use_sealed_containers or config.run_doctor is true'; exit 1; }"] else [])
@ (if config.use_guix then ["command -v guix >/dev/null 2>&1 || { echo 'guix not found but config.use_guix is true'; exit 1; }"] else [])
@ (if config.use_sealed_containers then ["command -v podman >/dev/null 2>&1 || { echo 'podman not found but config.use_sealed_containers is true'; exit 1; }"] else []),
},
Expand Down
Loading