-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add NixOS packages upgradeable #1361
Conversation
There are some questions here around multi-user installs / NixOS profiles as packages are only listed on a per profile basis. I'm looking into it more, but I might have to change this into a custom parser for handling multi profiles. |
NixOS hosts a Nixpkgs releases, and lists them in a GitHub repo. If we need to go the release tracker path then we should be able to pull from these sources. |
Lots of helpful info on NixOS package management here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Micah-Kolide What's the state on this one? It looks almost ready, though the commands would need to shift to the Allowedcmd framework
70c3543
to
6c08a0e
Compare
I think this will need some more testing on the linux side, but this may just work out as hoped. seph figured we could run with it and verify data after a merge. I didn't get a good NixOS environment set up for my own testing yet, so I was hoping we might be able to use a test NixOS machine from @RebeccaMahany? I'm going to be working on re-setting up my NixOS build, but if it wouldn't be a hassle, then I would appreciate the help with testing it. |
Relates to #868 |
Adding a xml exec parser for NixOS packages.
nix-env
with-c
can check package version and output into xml or json format. Json doesn't seem to returnversionDiff
, which is super useful on the check side, so I chose to add the XML parsing to the exec datatypes.This is super early in testing on a mac not a full NixOS install, but the general idea should work.