Parse .drv
to learn more information about a derivation #58
Labels
No labels
automation
backend
bug
contributor experience
data
deployment
documentation
duplicate
good first issue
help wanted
nice to have
notifications
package maintainer
performance
skin
tech debt
user story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-community/nix-security-tracker#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In addition to #8, it seems clear that we cannot pass the opportunity to grab the treasure of information
that is
env
inside of a derivation.It contains the following information we don't have right now:
pname
version
patches
Those are critical for our operations and should be obtained during evaluation import, we should also parse every
.drv
directly and maybe store the fullenv
structure as a JSONField ofNixDerivation
.One could write Python bindings to Tvix that expose the drv parser from the nix-compat crate.
Shifting this further out of scope for now. While it's good to have more detailed data, it's not critical for the prototype.