Skip to content

Commit cbdf1c1

Browse files
committed
astroid: fromJSON to importJSON
1 parent e741f97 commit cbdf1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/programs/astroid.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ let
3636

3737
# See https://github.com/astroidmail/astroid/wiki/Configuration-Reference
3838
finalConfig = let
39-
template = builtins.fromJSON (lib.readFile ./astroid-config-template.json);
39+
template = lib.importJSON ./astroid-config-template.json;
4040
astroidConfig = lib.foldl' lib.recursiveUpdate template [
4141
{
4242
astroid.notmuch_config =

0 commit comments

Comments
 (0)