get environment for 'nix