Skip to content

Commit

Permalink
Merge pull request #1223 from SuperSandro2000/lib-json
Browse files Browse the repository at this point in the history
Use lib function to import json
  • Loading branch information
adisbladis authored Jul 12, 2023
2 parents 2e48047 + aeecfaa commit a3bd762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let
toPluginAble = (import ./plugins.nix { inherit pkgs lib; }).toPluginAble;

# List of known build systems that are passed through from nixpkgs unmodified
knownBuildSystems = builtins.fromJSON (builtins.readFile ./known-build-systems.json);
knownBuildSystems = lib.importJSON ./known-build-systems.json;
nixpkgsBuildSystems = lib.subtractLists [ "poetry" "poetry-core" ] knownBuildSystems;

mkInputAttrs =
Expand Down

0 comments on commit a3bd762

Please sign in to comment.