From 67e4bcebb33575f6bd6699eecf017f99cae339ad Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Fri, 8 Jan 2021 16:09:07 +0000 Subject: [PATCH] Change type of stylix.image to types.path A derivation will be converted to a path using builtins.toString, assuming the image is its only output. --- stylix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylix/default.nix b/stylix/default.nix index 73472f2d..5c97c75b 100644 --- a/stylix/default.nix +++ b/stylix/default.nix @@ -12,7 +12,7 @@ with lib; ]; options.stylix.image = mkOption { - type = types.package; + type = types.coercedTo types.package toString types.path; description = "Wallpaper image."; }; }