feat: enable using channel URLs if unable to resolve via NIX_PATH
1 file changed, 4 insertions(+), 1 deletion(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -48,6 +48,7 @@ Key: "nixos", Enable: true, Type: importer.Channel, Channel: "nixpkgs", + URL: "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz", ImportPath: "nixos/release.nix", Attribute: "options", OutputPath: "share/doc/nixos/options.json",@@ -64,7 +65,8 @@ Name: "Darwin", Key: "darwin", Enable: false, Type: importer.Channel, - Channel: "nix-darwin", + Channel: "darwin", + URL: "https://github.com/LnL7/nix-darwin/archive/master.tar.gz", ImportPath: "release.nix", Attribute: "options", OutputPath: "share/doc/darwin/options.json",@@ -81,6 +83,7 @@ Name: "Home Manager", Key: "home-manager", Enable: false, Channel: "home-manager", + URL: "https://github.com/nix-community/home-manager/archive/master.tar.gz", Type: importer.Channel, ImportPath: "default.nix", Attribute: "docs.json",