nix version refactored