diff --git a/default.nix b/default.nix index 8042426..8f31a73 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,8 @@ self: super: { # vim: set et,sw=4 performous-composer = self.libsForQt5.callPackage ./performous-composer.nix {}; open-simh = self.callPackage ./open-simh.nix {}; - linux_6_5_3 = self.callPackage ./linux_653.nix {}; - linuxPackages_6_5_3 = self.linuxPackagesFor linux_6_5_3; + linux_6_5_3 = self.callPackage ./linux_653.nix { + kernelPatches = [ self.kernelPatches.bridge_stp_helper self.kernelPatches.request_key_helper ]; + }; + linuxPackages_6_5_3 = self.linuxPackagesFor self.linux_6_5_3; } diff --git a/flake.nix b/flake.nix index 98eccf7..872b7f7 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,12 @@ open-simh = pkgs.callPackage ./open-simh.nix {}; }; legacyPackages = rec { - linux_6_5_3 = pkgs.callPackage ./linux_653.nix {}; + linux_6_5_3 = pkgs.callPackage ./linux_653.nix { + kernelPatches = with pkgs.kernelPatches; [ + bridge_stp_helper + request_key_helper + ]; + }; linuxPackages_6_5_3 = pkgs.linuxPackagesFor linux_6_5_3; }; apps = rec { diff --git a/linux_653.nix b/linux_653.nix index 6aa7695..7e42b41 100644 --- a/linux_653.nix +++ b/linux_653.nix @@ -18,8 +18,4 @@ buildLinux (args // rec { structuredExtraConfig.VIDEO_STK1160_COMMON = lib.mkForce (option no); - kernelPatches = with args.kernelPatches; [ - bridge_stp_helper - request_key_helper - ]; } // (args.argsOverride or { }))