autobuild kernel modules along with kernel

This commit is contained in:
xenofem 2022-06-30 18:14:44 -04:00
parent 5ce938bbb3
commit 8355393bc4

View file

@ -7,7 +7,14 @@
pkgs = import nixpkgs { system = "x86_64-linux"; }; pkgs = import nixpkgs { system = "x86_64-linux"; };
in rec { in rec {
packages.x86_64-linux = rec { packages.x86_64-linux = rec {
default = linuxPackages_fanotify.kernel; default = pkgs.symlinkJoin {
name = "kernel-autobuild";
paths = [
linuxPackages_fanotify.kernel
linuxPackages_fanotify.virtualbox
linuxPackages_fanotify.zfs
];
};
linuxPackages_fanotify = pkgs.linuxPackages.extend (final: prev: { linuxPackages_fanotify = pkgs.linuxPackages.extend (final: prev: {
kernel = prev.kernel.override { kernel = prev.kernel.override {