From 3dec65fda85d03630173e5ab5f0eab6ae861c551 Mon Sep 17 00:00:00 2001 From: m1dugh Date: Sun, 2 Aug 2026 18:15:58 +0200 Subject: [PATCH] msi-ec: 0-unstable-2025-09-17 -> 0-unstable-2026-08-02 --- pkgs/os-specific/linux/msi-ec/default.nix | 6 ++--- .../linux/msi-ec/patches/makefile.patch | 24 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/os-specific/linux/msi-ec/default.nix b/pkgs/os-specific/linux/msi-ec/default.nix index 81d2930a622da..ca412da26ca4a 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-09-17"; + version = "0-unstable-2026-08-02"; src = fetchFromGitHub { owner = "BeardOverflow"; repo = "msi-ec"; - rev = "ed92e2eb0005ab815f5492c8cb02495289263738"; - hash = "sha256-9jynXUvSZT2smyciK8GqojC/4MtxtqfQvJcf5RgPXKY="; + rev = "050d4394a6747ebd106ae2f8ddb3a4eebe7c700f"; + hash = "sha256-b7wwZstjeLPEsxIjmZentDwkQTxdBYbpJfdOR24Ofww="; }; dontMakeSourcesWritable = false; diff --git a/pkgs/os-specific/linux/msi-ec/patches/makefile.patch b/pkgs/os-specific/linux/msi-ec/patches/makefile.patch index c54a649efe27f..a358fad663ab5 100644 --- a/pkgs/os-specific/linux/msi-ec/patches/makefile.patch +++ b/pkgs/os-specific/linux/msi-ec/patches/makefile.patch @@ -1,28 +1,28 @@ diff --git a/Makefile b/Makefile -index 9e598ea..0776132 100644 +index db61eb2..dc0be31 100644 --- a/Makefile +++ b/Makefile -@@ -1,6 +1,7 @@ - VERSION := 0.12 +@@ -4,6 +4,7 @@ include $(_SRC)/Makefile.vars # AKMOD can be annoying so preventing his silent c DKMS_ROOT_PATH := /usr/src/msi_ec-$(VERSION) - KERNELRELEASE ?= $(shell uname -r) + + KERNELRELEASE := $(shell uname -r) +KERNELDIR ?= /lib/modules/$(KERNELRELEASE)/build/ - ccflags-y := -std=gnu11 -Wno-declaration-after-statement + KMOD_DIR := /lib/modules/$(KERNELRELEASE)/updates/drivers/platform/x86 -@@ -10,11 +11,14 @@ obj-m += msi-ec.o +@@ -14,10 +15,13 @@ obj-m += $(MODNAME).o all: modules modules: - @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) modules + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules - - clean: - @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) clean - ++ +modules_install: + @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) modules_install -+ + + clean: +- @$(MAKE) -C /lib/modules/$(KERNELRELEASE)/build M=$(CURDIR) clean ++ @$(MAKE) -C $(KERNELDIR) M=$(CURDIR) clean + load: insmod msi-ec.ko -