diff --git a/src/modules/functions.translators/implementation.nix b/src/modules/functions.translators/implementation.nix index 80f9394f..3a28ae74 100644 --- a/src/modules/functions.translators/implementation.nix +++ b/src/modules/functions.translators/implementation.nix @@ -41,7 +41,11 @@ --show-trace --impure --raw --expr " let dream2nix = import ${dream2nixWithExternals} { - dream2nixConfig = ${dream2nixConfigFile}; + dream2nixConfig = builtins.fromJSON ( + builtins.unsafeDiscardStringContext ( + builtins.readFile ${dream2nixConfigFile} + ) + ); }; translatorArgs = (builtins.fromJSON