<teto>
is there a guide on how to develop nixops plugin ? I have many changes I would like to submit for the libvirtd plugin
<teto>
i.e., how to run a local plugin
emptyfl4sk has joined #nixops
emptyfl4sk has quit [Ping timeout: 276 seconds]
emptyfl4sk has joined #nixops
emptyfl4sk has quit [Ping timeout: 276 seconds]
<aminechikhaoui>
teto Good point I think we need to add some documentation in the manual
<aminechikhaoui>
there is a couple of lines in the readme though to show how to reference a plugin
emptyfl4sk has joined #nixops
emptyfl4sk has quit [Ping timeout: 276 seconds]
emptyfl4sk has joined #nixops
emptyfl4sk has quit [Ping timeout: 246 seconds]
<teto>
aminechikhaoui: the update-all script didn't work without a github token not sure why so I ended up writing data.nix manually but nowhere it said versions had to be tags (and starting with "v" !)
<teto>
as nixops-libvirtd didn't have tags, I cloned it and pushed a tag. looks convoluted compared to the old ways :s
<aminechikhaoui>
teto we can certainly improve that
<aminechikhaoui>
from what I understand you're doing changes to the libvirtd backend
<aminechikhaoui>
so you should have a local checkout
<teto>
I do
<teto>
I have*
<aminechikhaoui>
testing should be a matter of ./dev-shell --arg p "(p: [ (p.callPackage ../path/to/nixops-libvirtd/release.nix {})])"
<aminechikhaoui>
without modifying data.nix
<teto>
cool thanks. Will try to port some of my changes to the new plugin