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

Generate Nix expressions directly #4

Closed
ttuegel opened this issue Dec 27, 2015 · 0 comments
Closed

Generate Nix expressions directly #4

ttuegel opened this issue Dec 27, 2015 · 0 comments
Assignees

Comments

@ttuegel
Copy link
Collaborator

ttuegel commented Dec 27, 2015

Rather than generating a JSON file which gets processed by Nix, we should generate Nix expressions directly. One advantage of this approach is that it bypasses deficiencies in Nix's JSON parser, c.f. #2. Another advantage is that we can put package dependencies in each package's arguments so that overriding dependencies is easier, e.g.

# `foo` requires bar-2.0, but bar-1.0 is the default version
foo = super.foo.override {
  bar = self.bar-2;
}
@ttuegel ttuegel self-assigned this Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant