{"action":"opened","issue":{"url":"https://api.github.com/repos/garbas/pypi2nix/issues/185","repository_url":"https://api.github.com/repos/garbas/pypi2nix","labels_url":"https://api.github.com/repos/garbas/pypi2nix/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/garbas/pypi2nix/issues/185/comments","events_url":"https://api.github.com/repos/garbas/pypi2nix/issues/185/events","html_url":"https://github.com/garbas/pypi2nix/issues/185","id":301752210,"number":185,"title":"*_override.nix gets wrong filepath in generated *.nix file in some instances","user":{"login":"seppeljordan","id":4805746,"avatar_url":"https://avatars1.githubusercontent.com/u/4805746?v=4","gravatar_id":"","url":"https://api.github.com/users/seppeljordan","html_url":"https://github.com/seppeljordan","followers_url":"https://api.github.com/users/seppeljordan/followers","following_url":"https://api.github.com/users/seppeljordan/following{/other_user}","gists_url":"https://api.github.com/users/seppeljordan/gists{/gist_id}","starred_url":"https://api.github.com/users/seppeljordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seppeljordan/subscriptions","organizations_url":"https://api.github.com/users/seppeljordan/orgs","repos_url":"https://api.github.com/users/seppeljordan/repos","events_url":"https://api.github.com/users/seppeljordan/events{/privacy}","received_events_url":"https://api.github.com/users/seppeljordan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T12:33:49Z","updated_at":"2018-03-02T12:33:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"Check out the following snippet from a generated package set in my custom overlay.  I execute pypi2nix from a parent directory so I modify the base name of via `--basename 10-python3Packages/python3`.  If I do so pypi2nix correctly generates file called `python3.nix` inside a subdirectory called `10-python3Packages`.  Unfortunately means also, that the path in the generated nix file for the overrides file is not correct anymore, because it is no longer relative to the generated file but instead to the parent directory.\r\n\r\n```\r\n# generated using pypi2nix tool (version: 1.8.1)\r\n# See more at: https://github.com/garbas/pypi2nix\r\n#\r\n# COMMAND:\r\n#   pypi2nix -vvv -V 3 -E libffi openssl mercurial -r 10-python3Packages/python3.txt --default-overrides -O ./python3_override.nix --basename 10-python3Packages/python3\r\n#\r\n\r\n...\r\n\r\n  localOverridesFile = ./10-python3Packages/python3_override.nix;\r\n\r\n...\r\n```"}}
{"actor":{"display_login":"seppeljordan"}}