From dd3cbbe9d7fc904fb3191ae0978c108d21232cf5 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 1 Jun 2025 03:16:41 +0200 Subject: [PATCH] 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 0de1d18795089b381d72a35fc4c3b178e26f7c06. This fixes the issue. --- nixos/modules/services/web-apps/stash.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/stash.nix b/nixos/modules/services/web-apps/stash.nix index 47f66edb7ddb..7cf5404874ce 100644 --- a/nixos/modules/services/web-apps/stash.nix +++ b/nixos/modules/services/web-apps/stash.nix @@ -167,7 +167,7 @@ let 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 { type = types.path;