feat: add support for nix store paths in variables

by exporting them at runtime and removing them from the pipeline
definition itself
closes #3
This commit is contained in:
technofab 2024-09-10 12:46:13 +00:00
parent ed80957884
commit e3b35ec8ae
2 changed files with 28 additions and 1 deletions

View file

@ -42,9 +42,14 @@
when = "delayed";
start_in = "1 hour";
deps = [pkgs.hello pkgs.curl];
variables = {
TEST = "test";
TEST_WITH_DERIVATION = "${pkgs.hello}/test";
};
script = [
"hello"
"curl google.de"
"echo $TEST $TEST_WITH_DERIVATION"
];
};
"test-non-nix" = {