mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-03 05:26:18 +01:00
cc5e31be17
Signed-off-by: magic_rb <magic_rb@redalder.org>
13 lines
172 B
Nix
13 lines
172 B
Nix
{}: {
|
|
jobspec,
|
|
vars ? {},
|
|
...
|
|
} @ args:
|
|
{
|
|
jobspec = "\${file(\"${jobspec}\")}";
|
|
hcl2 = {
|
|
inherit vars;
|
|
};
|
|
}
|
|
// builtins.removeAttrs args ["jobspec" "vars"]
|