From 2ed58e3fa29abb411dd921f15f820c4be1456bc4 Mon Sep 17 00:00:00 2001 From: Ganga Ram Date: Wed, 17 May 2023 15:50:16 +0400 Subject: [PATCH] Removed extra overlay for kernel Signed-off-by: Ganga Ram --- microchip/common/modules.nix | 6 +----- microchip/common/overlay.nix | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 microchip/common/overlay.nix diff --git a/microchip/common/modules.nix b/microchip/common/modules.nix index 9876b19..1678f81 100644 --- a/microchip/common/modules.nix +++ b/microchip/common/modules.nix @@ -1,10 +1,6 @@ { pkgs, lib, ... }: { - nixpkgs.overlays = [ - (import ./overlay.nix) - ]; - boot = { - kernelPackages = pkgs.linuxPackagesFor pkgs.linux-icicle-kit; + kernelPackages = pkgs.linuxPackagesFor (pkgs.callPackage ./bsp/linux-icicle-kit.nix { }); initrd.includeDefaultModules = lib.mkForce false; }; diff --git a/microchip/common/overlay.nix b/microchip/common/overlay.nix deleted file mode 100644 index 007756c..0000000 --- a/microchip/common/overlay.nix +++ /dev/null @@ -1,3 +0,0 @@ -final: prev: { - linux-icicle-kit = final.callPackage ./bsp/linux-icicle-kit.nix { pkgs = final; boot = prev.uboot-icicle-kit; }; -}