Closed ahihi closed 4 months ago
ok, i expected i could skip the first step https://github.com/LnL7/nix-darwin#step-1-creating-flakenix since i already have a flake.nix, but actually first setting up with this barebones flake.nix and then switching to my own makes it work :)
i have been running a flake-based nix-darwin setup for about half a year on Sonoma, but it seems a recent update broke my PATH. at this point i was not aware of https://github.com/LnL7/nix-darwin/wiki/Upgrading-macOS and decided to start from a clean slate, so i uninstalled Nix. however i did make the mistake of not uninstalling nix-darwin first, so i followed https://github.com/LnL7/nix-darwin/issues/542#issuecomment-1270691308 to do it manually.
now, i have reinstalled Nix successfully, but when i try to do
nix run nix-darwin --show-trace -- switch --flake .
in my flake directory, i get:i dont know where this path is coming from, but i assume i missed something in my manual uninstallation attempt. any idea what might cause this?