Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore short repository labels #43

Merged
merged 1 commit into from
Nov 14, 2018
Merged

Restore short repository labels #43

merged 1 commit into from
Nov 14, 2018

Conversation

mboes
Copy link
Member

@mboes mboes commented Nov 13, 2018

Before #29, we'd write

nixpkgs_package(name = "hello", repository = "@nixpkgs")

and this would just work. Now we write

nixpkgs_package(name = "hello", repositories = { "nixpkgs": "@nixpkgs//:default.nix" })

which is quite a bit more verbose. With this fix, writing the
repository label as "@nixpkgs" works again.

Fixes #41.

@mboes mboes requested a review from Profpatsch November 13, 2018 20:47
Before #29, we'd write

```python
nixpkgs_package(name = "hello", repository = "@nixpkgs")
```

and this would just work. Now we write

```python
nixpkgs_package(name = "hello", repositories = { "nixpkgs": "@nixpkgs//:default.nix" })
```

which is quite a bit more verbose. With this fix, writing the
repository label as `"@nixpkgs"` works again.

Fixes #41.
@mboes mboes merged commit 097f8cb into master Nov 14, 2018
@mboes mboes deleted the short-repo-refs branch November 14, 2018 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: short form repository labels don't work anymore
2 participants