dalto
April 8, 2020, 11:57am
1
I have this in my configuration.nix:
virtualisation.virtualbox.host = { enable = true; enableExtensionPack = true; };
Now, whenever I do: nixos-rebuild switch --upgrade
Virtualbox gets rebuilt from source.
While I don’t really have a problem with it getting built from source, it seems to be building the same exact version over and over again.
Is there a reason it keeps rebuilding the same thing and is there an easy way to stop that from happening?
SRGOM
April 8, 2020, 12:22pm
2
Extension pack! There is some licensing conflict and the prebuikt binaries need a standard hard coded location. I would pin vbox module to a specific version. Btw if you’re too keen there is a pr I believe which tries to address this.
4 Likes
SRGOM
July 17, 2020, 1:17am
3
Follow steps here- [Question] How to enable a service from a different channel · Issue #41212 · NixOS/nixpkgs · GitHub to pin virtual box and avoid recompilation(insecure, goes without saying).
This is not the pr I was talking about
1 Like
SRGOM
July 17, 2020, 1:53am
4
This is the PR I was talking about- https://github.com/NixOS/nixpkgs/pull/71127
The original author has discontinued it but if you’re feeling adventurous, just import the module from that commit.
2 Likes