supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 264 seconds]
dhess has quit [Remote host closed the connection]
philr has joined #nix-darwin
dhess has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 264 seconds]
stephank has quit [Quit: stephank]
stephank has joined #nix-darwin
abathur has quit [Quit: abathur]
abathur has joined #nix-darwin
<supersandro2000> Can someone look at #94582 ? Just a little cleanup.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94582 (by Ericson2314, 16 weeks ago, open): clang, cc-wrapper: Move `--gcc-toolchain` logic into CC wrapper
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
johnw has joined #nix-darwin
kgriffin has quit [Quit: ZNC 1.7.5 - https://znc.in]
kgriffin has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nix-darwin
__monty__ has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 264 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has joined #nix-darwin
<stephank> Hmm, a little stuck on the Swift build still. It's difficult to get libsystem in the include path there. It's building compiler-rt as a nested cmake project, and the compiler-rt builtins target appears to clear CMAKE_C_FLAGS. And NIX_CFLAGS_COMPILE is too broad, breaks other things.
<stephank> It shouldn't be much different from the regular llvm compiler-rt, but the build is way different. I'm using xcbuild to solve all the autodetection the Swift build system does, and it's probably passing flags down to compiler-rt. I wonder if stuff like TargetConditionals.h is normally resolved to the SDK, but the SDK here is the stub.
<stephank> Meh, Hydra build logs for regular compiler-rt don't show cc args :/
<stephank> I think also libsystem is not really supposed to be a dependency of compiler-rt? Because compiler-rt is also used in kexts. So it must be the SDK.
<stephank> Well, patched it, compiler generates a ton of pedantic warnings, but guess I'll shrug those off. On to the next error :p
<LnL> everything links against libsystem
<LnL> ideally we'd reuse our existing llvm builds, I would assume swift doesn't use forked versions
iH8c0ff33 has quit [Ping timeout: 256 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<stephank> I only just noticed the recent things went bonkers was because it was using its own clang :/
<stephank> s/recent/reason/
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 246 seconds]
philr has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nix-darwin
kalbasit has joined #nix-darwin
ae-mo has joined #nix-darwin
<ae-mo> Hello! I'm trying to use flakes on macOS through nix-darwin. I can't get commands like `nix shell nixpkgs#cowsay --command cowsay Hi!` to execute because nix can't inerpret what's after the hashtag apparently. Anyone has had the same issue?
<stephank> ae-mo: Did you quote `nixpkgs#cowsay`? Guessing your shell treats it as a comment
<ae-mo> stephank that was indeed the problem, thank you!
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
ae-mo has quit [Ping timeout: 245 seconds]
iH8c0ff33 has quit [Ping timeout: 265 seconds]
<stephank> Meh, was trying a different approach to Swift. It's essentially a cmake project with a wrapper to combine it with llvm, cmake, etc. So I was trying to build Swift by itself. Made some progress but Swift 5.3 seems to rely on a newer libobjc, 779.1 at least. :/
<stephank> Nixpkgs is currently on Swift 5.1, but 5.1 and 5.2 have different build obstacles.
ChanServ has quit [shutting down]
ChanServ has joined #nix-darwin
supersandro2000 has quit [Ping timeout: 260 seconds]
<stephank> Looks like libobjc 779.1 is macos 10.15
<LnL> stephank: libobjc is part of the stdenv but you could add a second version
<LnL> also in my experience things are usually easier when pretending to be linux instead of dealing with sdk assumptions
<LnL> either way something that works is better than nothing :)
<stephank> good points, I'll try something :)
kalbasit has quit [Ping timeout: 256 seconds]
maljub01 has quit [Quit: Ping timeout (120 seconds)]
maljub01 has joined #nix-darwin
supersandro2000 has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
philr has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 256 seconds]
kalbasit has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin