mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-24 09:32:34 +03:00
fix: remove translatorInstances usages
This commit is contained in:
parent
6e3d498006
commit
df731a0722
@ -54,7 +54,7 @@ in
|
||||
if [ ! -e "$bin" ]; then
|
||||
echo "building executable for translator $translator"
|
||||
${callNixWithD2N} build -o "$bin" "
|
||||
dream2nix.framework.translatorInstances.$translator.translateBin
|
||||
dream2nix.framework.translators.$translator.translateBin
|
||||
"
|
||||
fi
|
||||
done
|
||||
|
@ -51,7 +51,7 @@ utils.writePureShellScriptBin
|
||||
translateBin="$TRANSLATOR_DIR/$translator"
|
||||
else
|
||||
translateBin=$(${callNixWithD2N} build --print-out-paths --no-link "
|
||||
dream2nix.framework.translatorInstances.$translator.translateBin
|
||||
dream2nix.framework.translators.$translator.translateBin
|
||||
")
|
||||
fi
|
||||
|
||||
|
@ -180,7 +180,7 @@ in
|
||||
aggregate = project.aggregate or false;
|
||||
|
||||
translator =
|
||||
framework.translatorInstances."${project.translator}";
|
||||
framework.translators."${project.translator}";
|
||||
|
||||
argsJsonFile =
|
||||
pkgs.writeText "translator-args.json"
|
||||
|
Loading…
Reference in New Issue
Block a user