I've just cleaned my mac of nix (with nix-darwin and home manager) that used the nixos installer, and re-installed nix with your Determinate Systems installer.
I'm now trying to install nix-darwin via
nix run nix-darwin -- switch --flake 'myhostname#'
to use my existing nix-darwin flake and home manager config, and getting the following error. If this is a nix error and not one related to your installer, please say and I'll delete this issue, but I'm noting here first due to the flake-oriented nature of your installer and assuming there's a bug via it, else nix-darwin.
error (ignored): error: end of string reached
error:
… in the condition of the assert statement
at «nix-internal»/call-flake.nix:79:13:
78| if node.flake or true then
79| assert builtins.isFunction flake.outputs;
| ^
80| result
… while calling the 'isFunction' builtin
at «nix-internal»/call-flake.nix:79:20:
78| if node.flake or true then
79| assert builtins.isFunction flake.outputs;
| ^
80| result
(stack trace truncated; use '--show-trace' to show the full trace)
error: path '/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source' does not exist
My setup is as follows:
Mac Studio, M2 Max, Sonoma 14.3.1 (23D60)
/etc/nix/nix.conf (as per your installer)
~/.config/nix-darwin/flake.nix (nix-darwin's flake. Its config is inline as per the template)
I've just cleaned my mac of nix (with nix-darwin and home manager) that used the nixos installer, and re-installed nix with your Determinate Systems installer.
I'm now trying to install nix-darwin via
nix run nix-darwin -- switch --flake 'myhostname#'
to use my existing nix-darwin flake and home manager config, and getting the following error. If this is a nix error and not one related to your installer, please say and I'll delete this issue, but I'm noting here first due to the flake-oriented nature of your installer and assuming there's a bug via it, else nix-darwin.
My setup is as follows:
Mac Studio, M2 Max, Sonoma 14.3.1 (23D60)
/etc/nix/nix.conf (as per your installer)
~/.config/nix-darwin/flake.nix (nix-darwin's flake. Its config is inline as per the template)
~/.config/nix-darwin/nixpkgs/home.nix (home manager's config)