| 28 Oct 2025 |
emily | nix-darwin will manage either of Nix or Lix (and any available version) depending on what nix.package is set to – by default it's pkgs.nix, the default Nix version in Nixpkgs | 03:42:19 |
Alex Nicolaou | so to be sure I understand ,nix-darwin cannot manage determinate nix, but it can manage vanilla nix, or the lix fork of nix. And my choices are to use the lix installer to install lix or nix, or to use the other installer to install nix, but not the determinate installer? | 03:46:27 |
Alex Nicolaou | mm reading more carefully it sounds like I shouldn't install nix with lix, but I could install lix with lix installer and then have nix-darwin take over and use nix packages. | 03:47:53 |
Alex Nicolaou | Looking at my notes, that is waht I've been doing so far (using lix to install nix) | 03:49:59 |
emily | I think your best bet right now is to use the Determinate Systems installer for Nix, and the Lix installer for Lix, but hopefully by the time the DetSys installer removes support for vanilla Nix they'll have managed to ship their own installer fork | 03:51:55 |
Alex Nicolaou | How much am I at risk by following my own notes? Last time I set up a new system was in August, no issues — using the lix installer to install nix, and then running nix run nix-darwin/master#darwin-rebuild — switch | 03:56:51 |
Alex Nicolaou | the reason I ask is that the nix-darwin page itself says that I won't be able to manage nix if I installit with det's installer | 03:57:11 |
Alex Nicolaou | is that information incorrect or am I msireading it? | 03:57:18 |
Alex Nicolaou | well I see technically it says with the dterminate flag. but that is the default now, so perhaps you're saying use some other flag to make the determinate installer install nix instead. | 03:58:17 |
emily | should be fine | 04:16:06 |
emily | yes, Determinate Nix is an opt-out now | 04:16:41 |
emily | per "To install the recommended vanilla upstream Nix, you will need to explicitly say no when prompted to install Determinate Nix." in our readm | 04:16:44 |
emily | * per "To install the recommended vanilla upstream Nix, you will need to explicitly say no when prompted to install Determinate Nix." in our readme | 04:16:44 |
emily | we should maybe remove the wording about the --determinate flag, but I guess it won't be relevant for long | 04:16:58 |
samasaur | we could/should change it to --prefer-upstream-nix i think | 04:17:33 |
samasaur | i guess we should probably check that that flag actually exists | 04:18:43 |
samasaur | i know they said it would in the initial announcement | 04:18:49 |
samasaur | but iirc that flag will make it install upstream nix for the two months | 04:19:15 |
samasaur | and then honestly i think our recommendation should probably be to install lix and use that to bootstrap? | 04:19:50 |
emily | probably we should just recommend the experimental installer… if it actually ships… | 04:20:22 |
samasaur | because i'm figuring that most people just use the default of "letting nix-darwin manage your nix install with the default options" (as i do) and if they aren't doing that they should know what they're doing anyway | 04:20:43 |
emily | afaik the main blocker has just been some infra stuff for months | 04:20:45 |
emily | but it sounded like that was getting resolved | 04:20:49 |
samasaur | yes sorry. that should be "experimental installer if it ships; otherwise lix installer" | 04:21:04 |
samasaur | prioritizing the "install something that immediately gets overritten by nix-darwin managing nix" workflow | 04:21:27 |
samasaur | trying to convince myself to do some nix-darwin work next which will include looking at this situation | 04:23:56 |
samasaur | but i keep getting distracted by other things | 04:24:02 |
Alex Nicolaou | Thanks to both of you for all yoru help. I am going to go the lix installer way for now. | 05:08:10 |
Alex Nicolaou | If it was me, I would remove references to the Determinate installer as the flow is confusing, but OTOH anyone going down this path has a steep hill to climb anyway, so perhaps it doesn't matter much. | 05:08:47 |
emily | Ihar Hrachyshka: were you saying something about builds being really slow lately? | 16:52:15 |