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 =
|
||||
pkgs.writeText "translator-args.json"
|
||||
(l.toJSON
|
||||
(args
|
||||
// {
|
||||
project = l.removeAttrs args.project ["dreamLock"];
|
||||
outputFile = project.dreamLockPath;
|
||||
}));
|
||||
(l.toJSON (
|
||||
args
|
||||
// {
|
||||
project = l.removeAttrs args.project ["dreamLock"];
|
||||
outputFile = project.dreamLockPath;
|
||||
}
|
||||
// (dlib.translators.getextraArgsDefaults translator.extraArgs or {})
|
||||
// args.project.subsystemInfo
|
||||
));
|
||||
in
|
||||
writePureShellScriptBin "resolve"
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user