1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-29 09:42:35 +03:00

Rename sourcesFile to sourcesJson

This commit is contained in:
Connor Prussin 2019-12-08 20:16:48 -08:00 committed by Nicolas Mattia
parent db185fc24e
commit f518e2e370

View File

@ -124,10 +124,10 @@ let
# The "config" used by the fetchers # The "config" used by the fetchers
mkConfig = mkConfig =
{ sourcesFile ? ./sources.json { sourcesJson ? ./sources.json
}: rec { }: rec {
# The sources, i.e. the attribute set of spec name to spec # The sources, i.e. the attribute set of spec name to spec
sources = builtins.fromJSON (builtins.readFile sourcesFile); sources = builtins.fromJSON (builtins.readFile sourcesJson);
# The "pkgs" (evaluated nixpkgs) to use for e.g. non-builtin fetchers # The "pkgs" (evaluated nixpkgs) to use for e.g. non-builtin fetchers
pkgs = mkPkgs sources; pkgs = mkPkgs sources;
}; };