14 lines
563 B
Makefile
14 lines
563 B
Makefile
repl:
|
|
nix repl --expr "\
|
|
let \
|
|
flake = builtins.getFlake \"$(git rev-parse --show-toplevel)\"; in \
|
|
flake // (with flake; { \
|
|
lib = inputs.nixpkgs.lib; \
|
|
pkgs = inputs.nixpkgs.legacyPackages."\${builtins.currentSystem}".extend(import ./pkgs inputs); \
|
|
}) \
|
|
"
|
|
|
|
[positional-arguments]
|
|
upload-extensions when:
|
|
yq '.extensions |= with_entries(select(.value.when | index($ARGS.positional[0])))' extensions.yaml --args "$1" | ssh tel.weinturm.de 'cat > extensions.yaml'
|
|
ssh tel.weinturm.de fieldpoc-load-extensions extensions.yaml
|