use schema version also in packages index (#58)

This commit is contained in:
Rok Garbas 2020-06-05 01:53:18 +02:00 committed by GitHub
parent ec5839f9fd
commit d6803efa38
Failed to generate hash of commit

View file

@ -416,7 +416,7 @@ makeRequest :
makeRequest options channel query from size =
Search.makeRequest
(makeRequestBody query from size)
("latest-nixos-" ++ channel)
("latest-" ++ String.fromInt options.mappingSchemaVersion ++ "-nixos-" ++ channel)
decodeResultItemSource
options
query