13 lines
457 B
YAML
13 lines
457 B
YAML
snippet:
|
|
exec:
|
|
custom:
|
|
nix:
|
|
filename: "snippet.nix"
|
|
|
|
# A prefix that indicates a line that starts with it should not be visible but should be executed if the
|
|
# snippet is marked with `+exec`.
|
|
hidden_line_prefix: "/// "
|
|
|
|
# A list of commands that will be ran one by one in the same directory as the snippet is in.
|
|
commands:
|
|
- ["nix-instantiate", "--eval", "--strict" ,"$pwd/snippet.nix"]
|