Merge pull request #428 from nix-community/improvements

fix: functions.translators: dream2nixConfig not loaded
This commit is contained in:
DavHau 2022-12-16 14:15:09 +07:00 committed by GitHub
commit 6a0ab9411b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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