Darwin + homemanager: some package pulling in gpm

Hi

I am updating my system (home-manager/flake.nix at 91790b2df5568abec46b63c585a801b389c2b8ba · mg/home-manager · GitHub) and I am getting the following error:

error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'darwin-system-25.05pre-git+darwin5.e30a362'
         whose name attribute is located at /nix/store/67j3ir6xfah1hid50h12jzbisb1szd87-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-25.05pre-git+darwin5.e30a362'

         at /nix/store/pzfx25s8l8bd5k00aqv3svp08xh14d74-source/modules/system/default.nix:97:7:

           96|
           97|       activationScript = cfg.activationScripts.script.text;
             |       ^
           98|       activationUserScript = cfg.activationScripts.userScript.text;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘gpm-unstable-2020-06-17’ in /nix/store/67j3ir6xfah1hid50h12jzbisb1szd87-source/pkgs/servers/gpm/default.nix:60 is not available on the requested hostPlatform:
         hostPlatform.config = "aarch64-apple-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
           "i686-cygwin"
           "x86_64-cygwin"
         ]
         package.meta.badPlatforms = [ ]
       , refusing to evaluate.

Is there any log where I can see exactly what is pulling gpm as a dependency in my configuration? Ive been trying stuff like disabling mouse support in tmux and removing Midnight Commander, but this is a needle in a haystak I am not finding.

I found the needle, it is lnav GitHub - tstack/lnav: Log file navigator
Not sure the problem is with lnav or how it is defined inside nix packages.