autobuild kernel modules along with kernel

main
xenofem 2022-06-30 18:14:44 -04:00
parent 5ce938bbb3
commit 8355393bc4
1 changed files with 8 additions and 1 deletions

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 {