diff options
| author | Jörg Thalheim <joerg@thalheim.io> | 2025-12-17 16:33:41 +0100 |
|---|---|---|
| committer | Jörg Thalheim <joerg@thalheim.io> | 2025-12-17 16:33:41 +0100 |
| commit | f1498c9c56f02c697a962180e9a5ad0249962ce0 (patch) | |
| tree | 20e822b5875b47da9e696d0c0960e0690c9deccd /pkgs/development/python-modules/robotframework-pythonlibcore | |
| parent | cb6d7834c53da81c653cecbfaca1ad8374cfa65b (diff) | |
nixos/facter: fix collectDrivers returning nested lists
The collectDrivers function was using lib.catAttrs which extracts
attribute values into a list. Since driver_modules is already a list,
this resulted in nested lists like [["i915"]] instead of ["i915"],
causing boot.initrd.kernelModules to fail with:
error: expected a string but found a list: [ "i915" ]
Restore the original foldl' implementation from nixos-facter-modules
that properly concatenates driver_modules lists into a flat result.
Add graphics_card and monitor entries to test data to catch this
regression.
Fixes: https://github.com/NixOS/nixpkgs/pull/466808#issuecomment-2749380083
Diffstat (limited to 'pkgs/development/python-modules/robotframework-pythonlibcore')
0 files changed, 0 insertions, 0 deletions
