Emily
Emily
https://github.com/LnL7/nix-darwin/pull/731 should fix the partial activation and give a clearer error in that case. Will leave this open for the docs issue.
> I've fixed `/Applications/Nix Apps` not getting deleted in #687. That's what confuses me: I was using that version (`nix run github:Enzime/...`).
Yes, we would track `nixpkgs-YY.MM-darwin` for release branches and `nixpkgs-unstable` for `master`. The `release-YY.MM` naming matches the branches commits go to in Nixpkgs; the `nix{pkgs,os}-*` are separate because they are...
This is very strange, but I can't imagine it's not an upstream Nix bug. Perhaps the Nix version changes on activation (Nixpkgs is currently using 2.15 rather than the latest...
Nix really shouldn't be doing this under any circumstances. I would recommend reporting a bug [upstream to Nix](https://github.com/NixOS/nix); presumably the nix-darwin configuration might have something to do with what's going...
Can you run `nix run nixpkgs#bash -- -x ./result/sw/bin/darwin-rebuild switch --flake .` so we can see what part is failing?
Interesting. So I'm going to assume it's using git from `/nix/store/zllqsxfvhzyyzgp5irpbai1c2n7ycb3a-jq-1.6-bin/bin:/nix/store/xw0462wahwywbl751zdrn5b56m3af4zz-git-2.41.0/bin`. Does `nix --extra-experimental-features 'nix-command flakes' flake metadata --json -- .` fail on its own? Adding `--debug` may be useful...
Same if you use the same `PATH`? ``` PATH=/nix/store/gqf7zhkx1n6sijax727ycrm57ikrv3pc-nix-2.15.1/bin:/nix/store/xyagncilqx57cljac32w9ld3kkn276d3-coreutils-9.3/bin:/nix/store/zllqsxfvhzyyzgp5irpbai1c2n7ycb3a-jq-1.6-bin/bin:/nix/store/xw0462wahwywbl751zdrn5b56m3af4zz-git-2.41.0/bin:/Users/myuser/.nix-profile/bin:/etc/profiles/per-user/myuser/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/myuser/.local/bin:/Users/myuser/.nix-profile/bin:/etc/profiles/per-user/myuser/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin nix --extra-experimental-features 'nix-command flakes' flake metadata --json -- . ```
Good that we're narrowing it down! Does `--debug` print out anything useful? Maybe we can figure out what Git invocation is failing.
Looks like that `git` works for other people. I assume it's `/nix/store/xw0462wahwywbl751zdrn5b56m3af4zz-git-2.41.0/bin/git`, right? Can you run `nix hash path /nix/store/xw0462wahwywbl751zdrn5b56m3af4zz-git-2.41.0`?