about summary refs log tree commit diff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/aszlig/profiles/base.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index 4855f32c..958caeb3 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -83,6 +83,17 @@ in {
         w3m = pkgs.w3m.override {
           graphicsSupport = true;
         };
+        linuxPackagesFor = kernel: self: let
+          orig = pkgs.linuxPackagesFor kernel self;
+          virtualbox = orig.virtualbox.overrideDerivation (drv: {
+            patches = (drv.patches or []) ++ lib.singleton (pkgs.fetchpatch {
+              name = "kernel-4.3.patch";
+              url = "https://www.virtualbox.org/changeset/57839/vbox"
+                  + "?format=diff";
+              sha256 = "0w28iamw9vnh8k447bx2rg3jwxzghkmpa44ni8fbdacjb3br9i9x";
+            });
+          });
+        in orig // { inherit virtualbox; };
       };
     };