Skip to content

Commit dc89f80

Browse files
committed
wb | remove nested container-specs derivation
1 parent eed341d commit dc89f80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nix/workbench/backend/nomad.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ let
3636
};
3737
in pkgs.runCommand "workbench-backend-data-${profileBundle.profile.value.name}-nomad"
3838
({
39-
containerSpecsJSON = pkgs.writeText "workbench-cluster-container-pkgs.json"
40-
(lib.generators.toJSON {} containerSpecs);
39+
containerSpecsJSON = lib.generators.toJSON {} containerSpecs;
40+
passAsFile = ["containerSpecsJSON"];
4141
})
4242
''
4343
mkdir $out
44-
ln -s $containerSpecsJSON $out/container-specs.json
44+
cp $containerSpecsJSONPath $out/container-specs.json
4545
''
4646
;
4747

0 commit comments

Comments
 (0)