1
1
mirror of https://github.com/nmattia/niv.git synced 2024-12-01 15:56:03 +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
mkConfig =
{ sourcesFile ? ./sources.json
{ sourcesJson ? ./sources.json
}: rec {
# 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
pkgs = mkPkgs sources;
};