Skip to content

Commit 0295a28

Browse files
committed
fix cicero transformer in nomad job
1 parent 4d3c90c commit 0295a28

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

nix/cloud/nomadEnvs/cicero/default.nix

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,26 @@
180180
perms = "544";
181181
data = postBuildHook;
182182
}
183+
184+
{
185+
destination = "/local/env";
186+
data = ''
187+
CICERO_EVALUATOR_NIX_EXTRA_ARGS=${builtins.toJSON ''
188+
{
189+
rootDir = let
190+
nixpkgs = builtins.getFlake "github:NixOS/nixpkgs/93950edf017d6a64479069fbf271aa92b7e44d7f";
191+
pkgs = nixpkgs.legacyPackages.''
192+
+ "'$'"
193+
+ builtins.toJSON ''
194+
{system};
195+
in
196+
# for transformers
197+
pkgs.bash;
198+
}
199+
''}
200+
'';
201+
env = true;
202+
}
183203
];
184204
};
185205
};

0 commit comments

Comments
 (0)