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