tv urlwatch: add json'
This commit is contained in:
parent
5f22fbed30
commit
4258ff5c0c
@ -1,8 +1,11 @@
|
|||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
{ config, pkgs, ... }: let
|
{ config, pkgs, ... }: let
|
||||||
json = url: {
|
json = json' ["."];
|
||||||
|
json' = args: url: {
|
||||||
inherit url;
|
inherit url;
|
||||||
filter = "system:${pkgs.jq}/bin/jq .";
|
filter = "system:${pkgs.jq}/bin/jq ${
|
||||||
|
concatMapStringsSep " " shell.escape (toList args)
|
||||||
|
}";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
krebs.urlwatch = {
|
krebs.urlwatch = {
|
||||||
|
Loading…
Reference in New Issue
Block a user