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.
  • Loading branch information
Mynacol committed Jan 4, 2025
1 parent a1945f7 commit e9d9adb
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 e9d9adb

Please sign in to comment.