virtualbox-kvm icon indicating copy to clipboard operation
virtualbox-kvm copied to clipboard

Nix Support

Open nikstur opened this issue 1 year ago • 4 comments

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

nikstur avatar Feb 08 '24 15:02 nikstur

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

blitz avatar Feb 08 '24 16:02 blitz

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

blitz avatar Feb 08 '24 19:02 blitz

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 avatar Feb 09 '24 17:02 blitz

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 avatar Feb 10 '24 23:02 blitz

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 avatar Feb 13 '24 15:02 blitz

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

blitz avatar Feb 15 '24 16:02 blitz

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

tpressure avatar Mar 08 '24 12:03 tpressure

Yes!

blitz avatar Mar 08 '24 13:03 blitz