fwts: 24.09.00 -> 25.09.00; fix kernel module

This commit is contained in:
eljamm
2025-11-04 22:59:59 +01:00
parent df76765d17
commit 76a698a87c
2 changed files with 10 additions and 8 deletions

View File

@@ -16,16 +16,18 @@
libbsd, libbsd,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "fwts"; pname = "fwts";
version = "24.09.00"; version = "25.09.00";
src = fetchzip { src = fetchzip {
url = "https://fwts.ubuntu.com/release/fwts-V${version}.tar.gz"; url = "https://fwts.ubuntu.com/release/fwts-V${finalAttrs.version}.tar.gz";
hash = "sha256-ZJSlx8O38e7bJYTgZacayslr28TLHHJsISXq9Uzsnyc="; hash = "sha256-OJI2O9MptckmGj4rTrh9haIGaXJOO3er59yIorbgSVw=";
stripRoot = false; stripRoot = false;
}; };
sourceRoot = "${finalAttrs.src.name}/fwts-${finalAttrs.version}";
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook autoreconfHook
pkg-config pkg-config
@@ -64,4 +66,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ tadfisher ]; maintainers = with lib.maintainers; [ tadfisher ];
}; };
} })

View File

@@ -6,13 +6,13 @@
kernelModuleMakeFlags, kernelModuleMakeFlags,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "fwts-efi-runtime"; pname = "fwts-efi-runtime";
version = "${fwts.version}-${kernel.version}"; version = "${fwts.version}-${kernel.version}";
inherit (fwts) src; inherit (fwts) src;
sourceRoot = "${src.name}/efi_runtime"; sourceRoot = "${fwts.sourceRoot}/efi_runtime";
postPatch = '' postPatch = ''
substituteInPlace Makefile --replace \ substituteInPlace Makefile --replace \
@@ -34,4 +34,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} })