The backdoor was not targeting Nix but it had to not raise any suspicion during a build in Nix to not be exposed.
Building from the git commit the release claimed to be from would result in a different binary than building from the tarball if the environment check passed.