ExpressVPN, wrong version

Hello

I’m new to nixos, so probably I am doing something wrong.

I see on here NixOS Search that expressvpn should be at version 3.52.0.2, but if I do “expressvpn –version” in my terminal, I get “expressvpn version 2.4.0 (537580b2e)”

this is my config, is there something wrong?

I tried the latest stable and the unstable channel, I have the same problem in both of them.

According to your config, you should have version 3.52.0.2. Try this: readlink $(which expressvpn). That should print the Nix store path to your installed expressvpn. If that path suggests that you have version 2.4.0, and you are certain you are using the configuration.nix you specified, then you probably have an old expressvpn installed in your nix profile, which is overriding the one in your configuration.nix

yeah well, the version seems right… but the version of the command line terminal is older, wtf

I also tried uninstalling (removing expressvpn from my config.nix) and reinstalling, but same issue o_O

Uninstalling/reinstalling doesn’t do much on NixOS. Here are some things to try:

  • Execute expressvpn --version using the absolute path you got from readlink $(which expressvpn). I’m expecting 3.52.0.2, but you never know.
  • Try /run/current-system/sw/expressvpn --version. That should point to the version in your NixOS configuration.
  • Take a look at the symlink $HOME/.nix-profile. Follow the redirections and see if it leads to a directory in the Nix store which contains a bin directory. If it does, see if that bin directory contains the old version of expressvpn.
  • Remove expressvpn from your NixOS configuration, update with nixos-rebuild switch and then see if expressvpn is still installed. If so, then you know it’s not coming from your NixOS configuration.

In this case, that’s just what the software is reporting, no point in doing the steps above.

All nixpkgs does is unpack the .deb file from expressvpn themselves, so complain to expressvpn people if it’s out of date. It’s closed-source, we can’t help you with making changes to that software. At most, someone (could be you) can send a pull request on github to bump the version/hash if there’s a newer deb to download.

PS these “vpns” acting as proxies are a waste of money IMO, but presumably it’s a bit too late for that.