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:
parent
db185fc24e
commit
f518e2e370
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user