cyberus-technology / virtualbox-kvm

KVM Backend for VirtualBox. With our current development model, we cannot easily accept pull requests here. If you'd like to contribute, feel free to reach out to us, we are happy to find a solution.
GNU General Public License v3.0
955 stars 119 forks source link

Nix Support #2

Closed nikstur closed 8 months ago

nikstur commented 9 months ago

Do you plan to natively package this with Nix as well?

blitz commented 9 months ago

I can see what I can do tomorrow. Should be pretty trivial.

blitz commented 9 months ago

First tiny preparations: https://github.com/NixOS/nixpkgs/pull/287295

blitz commented 9 months ago

Once the above PR is through. I'll open another PR. In the meantime, there is pkgs.virtualboxKvm here: https://github.com/blitz/nixpkgs/tree/vbox-kvm-2

blitz commented 9 months ago

I'm updating VBox in nixpgks to the same version that the KVM version is based on here: https://github.com/NixOS/nixpkgs/pull/287878

After that it should be easy to build a switch in the VirtualBox module to select which version you want.

blitz commented 9 months ago

https://github.com/NixOS/nixpkgs/pull/288579 <- It's missing a bit of work and the module is not tested at all at the moment, but might be good enough to try.

blitz commented 9 months ago

I finally finished the nixpkgs PR. Enjoy! Just waiting for reviews now.

tpressure commented 8 months ago

@blitz can we close this now that https://github.com/NixOS/nixpkgs/pull/288579 has been merged?

blitz commented 8 months ago

Yes!