From 01371010e577b8efd25e91da4a7d8c7b3fc8d239 Mon Sep 17 00:00:00 2001 From: m1dugh Date: Wed, 17 Sep 2025 17:52:25 +0200 Subject: [PATCH] msi-ec: 0-unstable-2025-05-17 -> 0-unstable-2025-09-17 --- pkgs/os-specific/linux/msi-ec/default.nix | 8 ++++---- pkgs/os-specific/linux/msi-ec/patches/makefile.patch | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/msi-ec/default.nix b/pkgs/os-specific/linux/msi-ec/default.nix index 9056e6132a92..81d2930a622d 100644 --- a/pkgs/os-specific/linux/msi-ec/default.nix +++ b/pkgs/os-specific/linux/msi-ec/default.nix @@ -9,13 +9,13 @@ }: stdenv.mkDerivation { pname = "msi-ec-kmods"; - version = "0-unstable-2025-05-17"; + version = "0-unstable-2025-09-17"; src = fetchFromGitHub { owner = "BeardOverflow"; repo = "msi-ec"; - rev = "796be9047b13c311ac4cdec33913775f4057f600"; - hash = "sha256-npJbnWFBVb8TK9ynVD/kXWq2iqO0ACKF4UYsu5mQuok="; + rev = "ed92e2eb0005ab815f5492c8cb02495289263738"; + hash = "sha256-9jynXUvSZT2smyciK8GqojC/4MtxtqfQvJcf5RgPXKY="; }; dontMakeSourcesWritable = false; @@ -44,6 +44,6 @@ stdenv.mkDerivation { license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.m1dugh ]; platforms = lib.platforms.linux; - broken = kernel.kernelOlder "5.5"; + broken = kernel.kernelOlder "6.5"; }; } diff --git a/pkgs/os-specific/linux/msi-ec/patches/makefile.patch b/pkgs/os-specific/linux/msi-ec/patches/makefile.patch index 0ed29887b3d4..c54a649efe27 100644 --- a/pkgs/os-specific/linux/msi-ec/patches/makefile.patch +++ b/pkgs/os-specific/linux/msi-ec/patches/makefile.patch @@ -1,12 +1,12 @@ diff --git a/Makefile b/Makefile -index bffcbd4..fd1d8a3 100644 +index 9e598ea..0776132 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ - VERSION := 0.08 + VERSION := 0.12 DKMS_ROOT_PATH := /usr/src/msi_ec-$(VERSION) - TARGET ?= $(shell uname -r) -+KERNELDIR ?= /lib/modules/$(TARGET)/build/ + KERNELRELEASE ?= $(shell uname -r) ++KERNELDIR ?= /lib/modules/$(KERNELRELEASE)/build/ ccflags-y := -std=gnu11 -Wno-declaration-after-statement @@ -14,11 +14,11 @@ index bffcbd4..fd1d8a3 100644 all: modules modules: -- @$(MAKE) -C /lib/modules/$(TARGET)/build M=$(CURDIR) modules +- @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) modules + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules clean: - @$(MAKE) -C /lib/modules/$(TARGET)/build M=$(CURDIR) clean + @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) clean +modules_install: + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules_install