fix: pass extraArgs defaults to impure translators

This commit is contained in:
DavHau 2022-07-03 12:14:33 +02:00
parent 1a30e4062a
commit 1477c6d9d8

View File

@ -185,12 +185,15 @@ in
argsJsonFile =
pkgs.writeText "translator-args.json"
(l.toJSON
(args
(l.toJSON (
args
// {
project = l.removeAttrs args.project ["dreamLock"];
outputFile = project.dreamLockPath;
}));
}
// (dlib.translators.getextraArgsDefaults translator.extraArgs or {})
// args.project.subsystemInfo
));
in
writePureShellScriptBin "resolve"
[