Start using meta.nix#203
Closed
henrirosten wants to merge 2 commits into
Closed
Conversation
9eec1ed to
6a05cc0
Compare
Collaborator
Author
|
While testing this, I notice the following: nikstur/bombon#170. I will not merge this yet. |
Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
6a05cc0 to
c45cba0
Compare
Collaborator
Author
|
Closed, in preference to: #294 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Start using
meta.nixto read the nix meta information in cases where the target is a flake reference with an output attribute. Fallback to using the old method of reading the nixpkgs pin from the target and generating the nix meta information from nixpgks top-level attributes withnix-env -qa --meta --json -f /path/to/nixpkgsifmeta.nixfails (e.g. when the target is a nix store path, not a flake reference). This makes reading the nix meta more accurate and less hacky in cases wheremeta.nixcan read the meta information.meta.nixheavily borrows from Bombon especially itsbuildtime-dependencies.nix.Fixes: #150
Possibly resolves: #157