From ba2e0d9c579f910cb3ca64ba864fdc7d021735ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 26 Nov 2025 10:09:40 +0100 Subject: nixos: wide update --- pkgs/default.nix | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'pkgs/default.nix') diff --git a/pkgs/default.nix b/pkgs/default.nix index 9b6e398..1b6f6f5 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -21,6 +21,7 @@ final: prev: { bigclown-leds = final.callPackage ./bigclown-leds {}; dodo = final.callPackage ./dodo {}; + elf-size-analyze = final.callPackage ./elf-size-analyze {}; # OpenWrt One armTrustedFirmwareMT7981 = final.callPackage ./mtk-arm-trusted-firmware rec { @@ -75,14 +76,16 @@ final: prev: { version = "6.18.0-rc1"; src = final.buildPackages.fetchgit { url = "git://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git"; - rev = "d7d7ac9af8cb72e3e3816ae9da3d9ee1bdfa4f9b"; - hash = "sha256-h1DwHDHQ4LfqVYkp/e36c3NLnhbg1ozmjtrtAk5AzZE="; + rev = "67ed5843a67b7ba63d79f2ba3fd21bee151d3138"; + hash = "sha256-jXBDVZOAk+/vf55cQWMlV4ZhmSwYucqMOuOGDLxSYis="; }; kernelPatches = [ { name = "openwrt-one"; patch = ./linux-openwrt-one-mediatek.patch; - #patch = ./linux-openwrt-one.patch; + #structuredExtraConfig = with final.lib.kernel; { + # NET_MEDIATEK_SOC = yes; + #}; } ]; }; @@ -99,6 +102,18 @@ final: prev: { }; # NixPkgs patches + libcap = + if prev.stdenv.hostPlatform != prev.stdenv.buildPlatform + then + prev.libcap.overrideAttrs { + patches = [ + (final.fetchpatch { + url = "https://git.kernel.org/pub/scm/libs/libcap/libcap.git/patch/?id=d628b3bfe40338d4efff6b0ae50f250a0eb884c7"; + hash = "sha256-Eiv/BOJZkduL+hOEJd8K1LQd9wvOeCKchE2GaLcerVc="; + }) + ]; + } + else prev.libcap; gvproxy = if prev.stdenv.hostPlatform.is32bit then -- cgit v1.2.3