all repos — searchix @ 4c6682878224589ec6c8b14cbe03eefb61e4d328

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: import package even with incorrect 'homePage' casing

Alan Pearce
commit

4c6682878224589ec6c8b14cbe03eefb61e4d328

parent

7b08d540424f61cdf1d379f7d60e15641822c86e

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M internal/importer/package.gointernal/importer/package.go
@@ -222,6 +222,10 @@ i++
} meta["platforms"] = plats } + + if meta["homepage"] == nil && meta["homePage"] != nil { + meta["homepage"] = meta["homePage"] + } if meta["homepage"] != nil { switch v := reflect.ValueOf(meta["homepage"]); v.Kind() { case reflect.String: