We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c4f883 commit d1ab502Copy full SHA for d1ab502
Makefile
@@ -59,7 +59,7 @@ analyse: RUN := wb analyse std ${TAG}
59
analyse: shell
60
61
list-profiles: ## List workbench profiles
62
- nix build .#workbench.profile-names-json --json | jq '.[0].outputs.out' -r | xargs jq .
+ nix build .#all-profiles-json && cat result
63
show-profile: ## NAME=profile-name
64
@test -n "${NAME}" || { echo 'HELP: to specify profile to show, add NAME=profle-name' && exit 1; }
65
nix build .#all-profiles-json --json --option substitute false | jq '.[0].outputs.out' -r | xargs jq ".\"${NAME}\" | if . == null then error(\"\n###\n### Error: unknown profile: ${NAME} Please consult: make list-profiles\n###\") else . end"
0 commit comments