nixos/hardware.pcmcia: Fix passthru.function usage

passthru.function is not existent, instead use overrideAttrs which has
almost the intended functionality. It triggers a rebuild, which
_should_ be fine for this package.

(cherry picked from commit e9d9adb73f)
This commit is contained in:
Mynacol 2025-01-04 17:29:00 +00:00 committed by github-actions[bot]
parent ed61393d8b
commit f8c83f45cc

View file

@ -5,7 +5,7 @@
...
}:
let
pcmciaUtils = pkgs.pcmciaUtils.passthru.function {
pcmciaUtils = pkgs.pcmciaUtils.overrideAttrs {
inherit (config.hardware.pcmcia) firmware config;
};
in