1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00

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.
This commit is contained in:
Mynacol 2025-01-04 17:29:00 +00:00
parent a1945f760a
commit e9d9adb73f

View file

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