hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
jacereda has quit [Ping timeout: 268 seconds]
jacereda has joined #nix-darwin
jacereda has quit [Ping timeout: 246 seconds]
trcc has joined #nix-darwin
trcc has quit [Remote host closed the connection]
trcc has joined #nix-darwin
trcc has quit [Ping timeout: 245 seconds]
hamishmack has joined #nix-darwin
philr has quit [Ping timeout: 272 seconds]
philr has joined #nix-darwin
<tnks> I upgraded from High Sierra to Mojave, and it seemed to break my Nix installation. So I followed the steps for uninstallation and reinstalled everything (from Terminal.app because there's a known permissions hiccup), and now I get this error when I do anything that pulls in new packages like `nix run nixpkgs.hello -c hello`: error
<tnks> Sorry, the error is `error: unexpected end-of-file`
<tnks> This almost feels like the kind of thing you get when dealing with Shell script compatibility problems, but I'm just guessing.
<tnks> Because I've always done so in the past, I installed Nix as multi-user... I suppose I can try not doing that.
<{^_^}> nix#2523 (by periklis, 10 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<tnks> LnL: I just saw that, but wasn't sure.
<tnks> LnL: actually... I think that's exactly my problem. But from the comments in the ticket, I don't know what the workaround is.
<tnks> it seems like it's not a problem with nix-daemon as much as curl.
<LnL> yeah true, but it only occurs when the nix-daemon uses libcurl after it forks
<LnL> so a single-user install won't run into it
<tnks> LnL: what makes you certain that other programs won't have this same usage problem with libcurl?
<LnL> they could, but forking like this isn't very common I think
<tnks> LnL: makes me uneasy, but I don't know I have any other path forward.
<LnL> it would be great if there was some other way to trigger it, I tried to make an example program to reproduce it but have not had any success with it yet
<LnL> there are a few things you can do to work around the issue in with nix specifically
<LnL> 1. replace the org.nixos.nix-daemon.plist and add the variable to disable the new error
<LnL> 2. install nix-2.1.3 instead, which doesn't suffer from this problem yet
<LnL> 3. don't do a daemon install
<tnks> LnL: okay, I opted for 1.
<tnks> My hopes are I can just hobble along until it's fixed properly.
peacememories has joined #nix-darwin
<LnL> I was hoping that I would have figured out what's going on before a new version was released, but now that 2.2 is out I might make a pr to add that as a workaround
<tnks> Yeah, I agree.
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tnks> LnL the default installation of Nix sets up the root user with a nixpkgs-unstable channel.
<tnks> but it seems like for Darwin maybe nixpkgs-18.09-darwin is better to track?
nD5Xjz has joined #nix-darwin