mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-11 08:36:04 +03:00
fix: pass extraArgs defaults to impure translators
This commit is contained in:
parent
1a30e4062a
commit
1477c6d9d8
@ -185,12 +185,15 @@ in
|
|||||||
|
|
||||||
argsJsonFile =
|
argsJsonFile =
|
||||||
pkgs.writeText "translator-args.json"
|
pkgs.writeText "translator-args.json"
|
||||||
(l.toJSON
|
(l.toJSON (
|
||||||
(args
|
args
|
||||||
// {
|
// {
|
||||||
project = l.removeAttrs args.project ["dreamLock"];
|
project = l.removeAttrs args.project ["dreamLock"];
|
||||||
outputFile = project.dreamLockPath;
|
outputFile = project.dreamLockPath;
|
||||||
}));
|
}
|
||||||
|
// (dlib.translators.getextraArgsDefaults translator.extraArgs or {})
|
||||||
|
// args.project.subsystemInfo
|
||||||
|
));
|
||||||
in
|
in
|
||||||
writePureShellScriptBin "resolve"
|
writePureShellScriptBin "resolve"
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user