Fix package position links (#242)

This commit is contained in:
Naïm Favier 2020-12-02 13:53:52 +01:00 committed by GitHub
parent d23b777053
commit 27ff900fc3
Failed to generate hash of commit
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
15
16

View file

@ -462,7 +462,7 @@ def get_packages(evaluation, evaluation_builds):
position = data["meta"].get("position")
if position and position.startswith("/nix/store"):
position = position[44:]
position = position.split("/", 4)[-1]
package_attr_name_query = list(parse_query(attr_name))
package_pname = remove_attr_set(data["pname"])