mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03: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.
(cherry picked from commit e9d9adb73f
)
This commit is contained in:
parent
ed61393d8b
commit
f8c83f45cc
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pcmciaUtils = pkgs.pcmciaUtils.passthru.function {
|
pcmciaUtils = pkgs.pcmciaUtils.overrideAttrs {
|
||||||
inherit (config.hardware.pcmcia) firmware config;
|
inherit (config.hardware.pcmcia) firmware config;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue