We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed341d commit dc89f80Copy full SHA for dc89f80
nix/workbench/backend/nomad.nix
@@ -36,12 +36,12 @@ let
36
};
37
in pkgs.runCommand "workbench-backend-data-${profileBundle.profile.value.name}-nomad"
38
({
39
- containerSpecsJSON = pkgs.writeText "workbench-cluster-container-pkgs.json"
40
- (lib.generators.toJSON {} containerSpecs);
+ containerSpecsJSON = lib.generators.toJSON {} containerSpecs;
+ passAsFile = ["containerSpecsJSON"];
41
})
42
''
43
mkdir $out
44
- ln -s $containerSpecsJSON $out/container-specs.json
+ cp $containerSpecsJSONPath $out/container-specs.json
45
46
;
47
0 commit comments