nix-community / nixos-vscode-server

Visual Studio Code Server support in NixOS
MIT License
419 stars 76 forks source link

warning: replaceChars is a deprecated alias of replaceStrings, replace usages of it with replaceStrings. #53

Closed MarusDod closed 1 year ago

MarusDod commented 1 year ago

got this error after enabling the module in home-manager

building the system configuration...
trace: warning: replaceChars is a deprecated alias of replaceStrings, replace usages of it with replaceStrings.
error: A definition for option `home-manager.users.marcos.systemd.user.services.auto-fix-vscode-server.description' is not of type `attribute set of (boolean or signed integer or string or list of (boolean or signed integer or string))'. Definition values:
       - In `/nix/store/lihi7wm1mshsjbr1asil43xw23mi10rs-source/flake.nix': "Automatically fix the VS Code server used by the remote SSH extension"
msteen commented 1 year ago

The warning seems unrelated to my work, I don't use it. And the error I cannot reproduce (though my test case in a container might not be perfect). This used to be a bug, using a path rather than a string in the systemd config, but has been fixed some time ago, have you updated your flake lock file?

msteen commented 1 year ago

Closing for now. I will reopen it if it still unresolved for you.