Nix-shell: two machines, different results

I read that post and can understand they had trouble, but I struggle to figure out exactly what they were trying to do.

Not sure if reviving this thread is the right call, please let me know. But now I have a slightly similar situation again. This type with the nix binary. Again both machines are using the same flakes.nix and flakes.lock but one is running nix 2.13.2 and the other is running 2.25.0pre20240920_ca3fc169

I’m explicitly setting the nix.package to use pkgs.nixVersions.git dotfiles/flake.nix at 4cf1f30a2b2fcd414133939226f1d0451482afa8 · ahmedelgabri/dotfiles · GitHub

Is one of them using inputs.darwin and the other inputs.nixpkgs?

The culprit was that I installed nix-darwin incorrectly on one of them when I was setting it up, I fixed that and everything now is in sync.