iH8c0ff33 has quit [Ping timeout: 240 seconds]
__monty__ has quit [Quit: leaving]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
kalbasit has quit [Ping timeout: 256 seconds]
<supersandro2000> it is really hard to follow the guide in nix-darwin...
<supersandro2000> I just don't get darwin-rebuild in my PATH
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<supersandro2000> I think everything works except that I do not get /run/current-system
<supersandro2000> any advice?
<supersandro2000> running sudo ln -s /nix/var/nix/profiles/system /run/current-system fixed it
<supersandro2000> I created https://github.com/LnL7/nix-darwin/issues/258 in a rush.
<{^_^}> LnL7/nix-darwin#258 (by SuperSandro2000, 23 seconds ago, open): /run/current-system symlink is not created
kalbasit has joined #nix-darwin
kalbasit has quit [Ping timeout: 256 seconds]
stephank has quit [Quit: stephank]
stephank has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
daGrevis has quit [Ping timeout: 260 seconds]
daGrevis has joined #nix-darwin
<LnL> weird
__monty__ has joined #nix-darwin
philr has quit [Ping timeout: 256 seconds]
<stephank> Hmmm, cache.h is missing from libsystem headers. My Xcode copy says it should be available since 10.6.
<stephank> The library tbd does appear to be there.
<stephank> But I can't figure out if this is part of an open-source release.
<stephank> Well managed to work around it, but now running into actual issues with the Swift build and its custom LLVM / Clang dependency. It appears it depends on some specific rev between LLVM 9 and 10 and the cmake-generated config.h from the LLVM build tree. So this approach is starting to look like a dead end. :/
<stephank> Might try building llvm using one of the nixpkgs derivations with overrides for the swift branch.
eraserhd2 has joined #nix-darwin
eraserhd has quit [Ping timeout: 240 seconds]
eraserhd3 has joined #nix-darwin
eraserhd2 has quit [Ping timeout: 246 seconds]
kalbasit has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 272 seconds]
<LnL> libSystem isn't a real package, it's an umbrella that combines a bunch of stuff so that's what we do there
<LnL> good chance something is missing, either there or maybe just one of the builds that doesn't copy enough to the output
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<supersandro2000> finally found out why my nix-daemon is not starting: failure in mac sandbox
<supersandro2000> Why is this https://github.com/NixOS/nix/blob/master/src/libstore/sandbox-defaults.sb not installed by default by the installer on 10.15?
<LnL> huh, what does that have to do with the daemon?
<LnL> that's only used once a build starts, but should be part of the nix output
<supersandro2000> all my services fail because of various sandbox violations
<supersandro2000> explains all my problems on mac
<supersandro2000> I think I got it and it feels really stupid
<supersandro2000> I installed nix headless and did not see the prompt about /bin/sh veing able to read the entire disk
<supersandro2000> but allowing that fixed it
<supersandro2000> Apple you feel like Microsoft. Right at home and broken and stupid
<LnL> entire disk access is for specific things AFAIK
<LnL> and this seems to indicate both the activation as well as the nix-daemon are running inside some kind of sandbox
<LnL> so completely unrelated from the build sandbox
<LnL> and given that sandboxes can't be nested this must be something new/wierd
<supersandro2000> they are running inside some service sandbox. If I just run the nix-daemon by hand... wait a second. If I run it without the /bin/sh it works...
<supersandro2000> it is the most default Darwin Catalina VM you can have. I installed it, logged in and installed nix
kalbasit has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 265 seconds]
iH8c0ff33 has joined #nix-darwin
eraserhd has joined #nix-darwin
eraserhd3 has quit [Ping timeout: 264 seconds]
philr has joined #nix-darwin
iH8c0ff33 has quit [Quit: WeeChat 3.0]
__monty__ has quit [Quit: leaving]
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nix-darwin