From 5cf87c75cd2319a8fa0ecd2249f3df50b11ff51f Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Thu, 8 Feb 2024 12:37:04 +0100 Subject: [PATCH] flake: Use types.str instead of types.string types.string is deprecated. Related: https://github.com/NixOS/nixpkgs/pull/66346 --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6fd94c3..ebba58a 100644 --- a/flake.nix +++ b/flake.nix @@ -46,7 +46,7 @@ enable = mkEnableOption "flake"; prefix = mkOption { default = null; - type = nullOr string; + type = nullOr str; example = literalExpression "\"unstable\""; description = '' Specify a nested alternative pkgs by attrName. @@ -54,7 +54,7 @@ }; compiler = mkOption { default = null; - type = nullOr string; + type = nullOr str; example = literalExpression "\"ghc922\""; description = '' Which compiler to build xmonad with.