trying to get the nix commands to osx'ify