<thefloweringash>
supersandro2000: I think b7e25c7 "apple-sdk: only try to copy tbd files if they exist" isn't checking the existence properly and is breaking the frameworks that do have .tbd files
<thefloweringash>
also looking at the build output I see that it's referencing a non-nix path "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", which might cause purity and version problems
iH8c0ff33 has joined #nix-darwin
<supersandro2000>
yeah you are right...
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<supersandro2000>
still fails with
<supersandro2000>
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
<supersandro2000>
ld: framework not found Foundation
<thefloweringash>
a bit of context here: as of the latest macos the framework and library files are no longer on disk. they're in some magic prelinked cache
<thefloweringash>
when linking, you're expected to use the apple sdk which has a yaml formatted definition the the interface to link against. when running the linker will take core of things for you, so you just can pretend the libraries exist when calling dlopen()
<thefloweringash>
the nix way of using frameworks was to just symlink the system frameworks and link against them directly, which is quite impure, and no longer an option on big sur
<thefloweringash>
the new nix way is to scrape a 10.12 machine's frameworks into the textual api format (tapi, .tbd files), and use those for linking.
<thefloweringash>
they should be almost indistinguishable from actual library files when used with cctools built with libtapi
<thefloweringash>
dropping that impure symlink is the whole goal of my recent efforts to support big sur
<maxsc>
I wonder what the option `environment.loginShell` does, I don't see any definition for it. I guess it should set the default shell via `chsh -s`. I found this related issue: https://github.com/LnL7/nix-darwin/issues/151
<{^_^}>
LnL7/nix-darwin#151 (by AlexeyRaga, 1 year ago, open): ZSH does not export `darwin` in `NIX_PATH`
__monty_1 has quit [Quit: leaving]
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 260 seconds]
<siraben>
Does VirtualBox on macOS have hardware virtualization?
kalbasit has joined #nix-darwin
kalbasit has quit [Ping timeout: 240 seconds]
<maxsc>
nix doctor tells me that I have two versions of nix in PATH: `nix-3.0pre20200804_ed52cf6/bin` and `nix-3.0pre20201020_e0ca98c/bin` (I'm using nix-darwin as a flake). Is that problematic? (saw the wiki article on Upgrading nix, `nix-env -e nix` doesn't resolve this though)
kalbasit has joined #nix-darwin
maxsc has quit [Remote host closed the connection]