diff options
| author | Karel Kočí <cynerd@email.cz> | 2025-11-26 10:09:40 +0100 |
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2025-11-26 10:09:40 +0100 |
| commit | ba2e0d9c579f910cb3ca64ba864fdc7d021735ed (patch) | |
| tree | edad0464197c63d1920a4c9885d71e3452fb189c /pkgs/default.nix | |
| parent | 40c262b575dfe63d32f41f402faca54b3ab15186 (diff) | |
| download | nixos-personal-ba2e0d9c579f910cb3ca64ba864fdc7d021735ed.tar.gz nixos-personal-ba2e0d9c579f910cb3ca64ba864fdc7d021735ed.tar.bz2 nixos-personal-ba2e0d9c579f910cb3ca64ba864fdc7d021735ed.zip | |
nixos: wide update
Diffstat (limited to 'pkgs/default.nix')
| -rw-r--r-- | pkgs/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
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 |
