fix: remove translatorInstances usages

This commit is contained in:
Yusuf Bera Ertan 2022-10-06 21:00:19 +03:00
parent 6e3d498006
commit df731a0722
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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"