nixos/test/stash: fix eval

nixosTests.stash fails eval when trying to convert cfg.settings to json due to a lambda sneaking its way in there. Bisected the issue to 0de1d18795. This fixes the issue.
This commit is contained in:
Peder Bergebakken Sundt 2025-06-01 03:16:41 +02:00
parent 893e2fac6a
commit dd3cbbe9d7

View file

@ -167,7 +167,7 @@ let
presets.recentlyAddedImages presets.recentlyAddedImages
] ]
''; '';
apply = type: if builtins.isFunction type then (type uiPresets) else type; apply = type: if lib.isFunction type then (type uiPresets) else type;
}; };
blobs_path = mkOption { blobs_path = mkOption {
type = types.path; type = types.path;