mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 01:07:14 +08:00
- Previous attr-set style providing "amdgpu" and "nvidia" is broken by PR #1046 - Add deprecation assertion for lenovo-yoga-7-14ARH7
883 B
883 B
Deprecation of //lenovo/yoga/7/14ARH7/default.nix
Background:
The lenovo-yoga-7-14ARH7 provides an attr-set with amdgpu and nvidia entries, to allow users
to choose whether to enable only the AMD-GPU driver, or also enable the NVidia driver with (by
default) Prime enabled.
However, this attr-set style seems to be broken by PR #1046, which exports modules as paths, instead. That change seems to cause an error of "value is a path while a set was expected".
- Replaced
lenovo-yoga-7-14ARH7.amdgpuwith alenovo-yoga-7-14ARH7-amdgpuentry. - Replaced
lenovo-yoga-7-14ARH7.nvidiawith alenovo-yoga-7-14ARH7-nvidiaentry. - Made
lenovo-yoga-7-14ARH7throw a deprecation error. - FIXES: #1052