diff --git a/builder/default.nix b/builder/default.nix index d7ecc92..94bcffd 100644 --- a/builder/default.nix +++ b/builder/default.nix @@ -95,8 +95,8 @@ in # this function gets passed all the way into the wrapper so that we can also add # other dependencies that get resolved later in the process such as treesitter grammars. nixCats = allPluginDeps: pkgs.stdenv.mkDerivation (let - isUnwrappedCfgPath = settings.wrapRc == false && settings.unwrappedCfgPath != null && builtins.isString settings.unwrappedCfgPath; - isStdCfgPath = settings.wrapRc == false && ! isUnwrappedCfgPath; + isUnwrappedCfgPath = settings.wrapRc == false && builtins.isString settings.unwrappedCfgPath; + isStdCfgPath = settings.wrapRc == false && ! builtins.isString settings.unwrappedCfgPath; nixCats_config_location = if isUnwrappedCfgPath then "${settings.unwrappedCfgPath}" else if isStdCfgPath then ncTools.mkLuaInline ''vim.fn.stdpath("config")''