This will be a question about a rather small symptom but I have many more where that comes from.
I encounter many discrepancies between using NixOS and a non-NixOS system when using the exact same derivations. While I understand some of them might as well be inevitable, I would be happy to understand where the issue stems from and what can be done in those cases.
I have 2 systems I use. One with NixOS, and the other Debian Buster.
I have the same Neovim v0.3.4 on both of them (using Nix on Buster).
Invoking nvim -c 'set titlestring=mytitle'
SHOULD spawn Neovim with the title set to mytitle
and it DOES so on NixOS, but DOES NOT on Buster.
Just to be sure, on Buster, I removed Neovim installed through Nix, and installed the same version v0.3.4 trough aptitude, and repeated the test, and it does work correctly like this (it it didn’t I would’ve posted this question on a Debian forum).
I will venture a guess this has to do with the setting of some environment variable, that is set on NixOS but not on Buster by default, if that is the case what would be the cleanest way of overriding the neovim derivation to create a derivation that works correctly on Debian Buster?
Thanks for the help!