xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
kalbasit has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
__monty__ has quit [Quit: leaving]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
kalbasit has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
abbe_ has quit [*.net *.split]
cbarrett has quit [*.net *.split]
abbe_ has joined #nix-darwin
cbarrett has joined #nix-darwin
clever has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nix-darwin
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clever has joined #nix-darwin
clever has quit [Disconnected by services]
clever has joined #nix-darwin
__monty__ has joined #nix-darwin
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
philr has quit [Ping timeout: 264 seconds]
kalbasit has joined #nix-darwin
butterthebuddha has joined #nix-darwin
butterthebuddha has quit [Ping timeout: 256 seconds]
kalbasit has quit [Ping timeout: 240 seconds]
xcmw has joined #nix-darwin
<supersandro2000> 2020-12-05 18:01:17.330 python3.8[65276:5715503] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Critical error: required built-in appearance SystemAppearance not found'
<supersandro2000> Anyone any idea?
<supersandro2000> only happens when sandbox is enabled
<abathur> it happens during a build, or to this app when built with sandbox?
<abathur> (but run later)
<abathur> ah, I guess during a build
<abathur> whatever it is, you've been here before :) https://github.com/NixOS/nixpkgs/pull/102151#issuecomment-733653840
<abathur> can you check if NEXT_ROOT is in the environment at that point? I see some similar reports that say it wasn't, but it is a fairly common theme in many of them it seems
<{^_^}> julienXX/terminal-notifier#201 (by redron, 3 years ago, closed): Running the app with NEXT_ROOT env variable.
<{^_^}> microsoft/vscode#21931 (by vgtummala, 3 years ago, closed): VS Code is crashing on mac
<LnL> there's an option within nix to enable sandbox logging
<LnL> nix-build --option darwin-log-sandbox-violations true
<LnL> with that violations should show up in the system logs
<LnL> would also be really helpful to have https://github.com/NixOS/nix/pull/2737 so it's possible to tweak the sandbox in a sane way
<{^_^}> nix#2737 (by LnL7, 1 year ago, open): build: add setting to extend the default darwin sandbox profile
prusnak has quit [Read error: Connection reset by peer]
prusnak has joined #nix-darwin
<supersandro2000> I already see them in the system log but I don't understand them at
<supersandro2000> abathur: I checked it in preCheck and NEXT_ROOT is not set
<abathur> hmm
<abathur> maybe worth grepping around the source if there's a script execution it could be internal to, but it may also be unrelated
<abathur> I don't see it on a naive github search of nixpkgs or pyobjc at least
<abathur> I do see a few instances of something that looks like an attempt to strip this out during make: https://github.com/CoderRWL/objc4-781/blob/5b3a5439956e25d49d9aadca83134aa7a76a530b/CJLCommon/Libc-583/GNUmakefile#L2
<supersandro2000> and the system log contains so much noise that I can barely find anything
<supersandro2000> I think it tries to do a network bind which would explain the failure in sandbox
<supersandro2000> but I allowed that already
<supersandro2000> whatever. I just disable them for now
<abathur> how do you know it's that one? just manual testing (didn't see it mentioned in the log paste)? Do you know if that breaks when it imports cocoa, or on a specific line/op in here?
<abathur> also, it's clunky to come up with the predicates, but once you do the "log stream" command can be a fairly tolerable way to monitor the log firehose
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<supersandro2000> did not copy it in
<supersandro2000> but it is the only thing that is not spammed for every test
<supersandro2000> it breaks on a specific test
<supersandro2000> also the tests are super unstable in sandbox
<supersandro2000> why do I even care and not just disable them?
<abathur> as in, flaky?
<supersandro2000> fails 40% of the time
<abathur> fun
<abathur> flaky won't do, so I guess they either need to get patched locally, fixed upstream, or disabled
<supersandro2000> I won't patch the tests except if it is very easy.
<supersandro2000> Upstream fixes are unlikely because the dev did not react to my one month old issue with a question
<abathur> I can think of one case, where maybe the code (or the tests) have optional dependencies on something external, and they're finding it without sandbox, but not with, and falling into alternate codepaths
<abathur> maybe diff the build outputs with/without sandbox in case you can see anything it's optioning or falling back on?
xcmw has joined #nix-darwin
<abathur> yeah, I'm not sure; I know I've noted before that the contributor base is very narrow, but that it has a lot projects directly or indirectly dependent
<abathur> only 3 people with more than 8 commits and only 5 with more than 2
<abathur> I'd base that call more on how he handles PRs than issues
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
emily has quit [Ping timeout: 240 seconds]
domenkozar[m] has quit [Ping timeout: 240 seconds]
aterius has quit [Ping timeout: 244 seconds]
siraben has quit [Ping timeout: 244 seconds]
gtklocker has quit [Ping timeout: 268 seconds]
thefloweringash has quit [Ping timeout: 268 seconds]
nicolas[m] has quit [Ping timeout: 268 seconds]
Ericson2314 has quit [Ping timeout: 260 seconds]
domenkozar[m] has joined #nix-darwin
emily has joined #nix-darwin
siraben has joined #nix-darwin
aterius has joined #nix-darwin
gtklocker has joined #nix-darwin
nicolas[m] has joined #nix-darwin
thefloweringash has joined #nix-darwin
Ericson2314 has joined #nix-darwin
johnw has quit [Quit: ZNC - http://znc.in]
philr has joined #nix-darwin
__monty__ has quit [Quit: leaving]