Skip to content

Commit

Permalink
nixos/hardware.pcmcia: Fix passthru.function usage
Browse files Browse the repository at this point in the history
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 e9d9adb)
  • Loading branch information
Mynacol authored and github-actions[bot] committed Jan 5, 2025
1 parent ed61393 commit f8c83f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/hardware/pcmcia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}:
let
pcmciaUtils = pkgs.pcmciaUtils.passthru.function {
pcmciaUtils = pkgs.pcmciaUtils.overrideAttrs {
inherit (config.hardware.pcmcia) firmware config;
};
in
Expand Down

0 comments on commit f8c83f4

Please sign in to comment.