iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 256 seconds]
<supersandro2000> got it
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
<thefloweringash> supersandro2000: is there a branch I can test?
<supersandro2000> thefloweringash: I am stil testing locally to get it build. Going to force push soon ™️
<supersandro2000> my changes since the rebase should be the last 3 or so commits
heywoodlh has joined #nix-darwin
<supersandro2000> thefloweringash: force pushed and the change I needed to do to get it compile is https://github.com/NixOS/nixpkgs/pull/102306/commits/9e5e73de3742ed1e024351fbe56ec68d0b1ad0cc
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
<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
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<supersandro2000> which is missing when this command is removed. I don't fully understand why cause I didn't quite understand what ln -s -L is doing
dhess has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<thefloweringash> the check is still not handling the glob properly, here's my recommendation: https://github.com/thefloweringash/nixpkgs/commits/pyobjc-frameworks
<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
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
hedgie has quit [Ping timeout: 256 seconds]
hedgie has joined #nix-darwin
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 272 seconds]
philr has joined #nix-darwin
philr_ has quit [Ping timeout: 240 seconds]
<siraben> supersandro2000: 10.13 is being EOL'd soon, should we upgrade apple-sdk to 10.14 instead?
iH8c0ff33 has joined #nix-darwin
<supersandro2000> siraben: if you can find the apple sdk dowload link
<supersandro2000> maybe it would still be a good idea to first upgrade to 10.13 if there are to many breaking changes or something
<siraben> supersandro2000: yeah, sounds good.
<siraben> Is it a big change? How come the PR hasn't been merged yet?
kalbasit has quit [Ping timeout: 256 seconds]
<supersandro2000> need to update a lot of other tools
<supersandro2000> probably all on here https://opensource.apple.com/release/macos-10136.html
hedgie has joined #nix-darwin
hedgie_ has quit [Ping timeout: 240 seconds]
iH8c0ff33 has quit [Ping timeout: 265 seconds]
<siraben> Is there a way to query hydra to find out the packages that, if fixed, would likely fix the most builds?
<siraben> https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-20.09-darwin/ some of these commits like 58f9c4c7d3a42c912362ca68577162e38ea8edfb allowed +98 packages to build on darwin
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 240 seconds]
iH8c0ff33 has quit [Ping timeout: 272 seconds]
__monty__ has joined #nix-darwin
__monty_1 has joined #nix-darwin
__monty__ has quit [Ping timeout: 240 seconds]
eraserhd2 has joined #nix-darwin
eraserhd has quit [Ping timeout: 256 seconds]
maxsc has joined #nix-darwin
<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]
iH8c0ff33 has joined #nix-darwin
eraserhd3 has joined #nix-darwin
bsima has quit [Quit: ZNC 1.7.5 - https://znc.in]
bsima has joined #nix-darwin
eraserhd2 has quit [Ping timeout: 240 seconds]
eraserhd has joined #nix-darwin
eraserhd3 has quit [Read error: Connection reset by peer]
eraserhd2 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
eraserhd has quit [Ping timeout: 240 seconds]
eraserhd3 has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
eraserhd2 has quit [Ping timeout: 264 seconds]
iH8c0ff33 has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nix-darwin
hedgie_ has joined #nix-darwin
hedgie has quit [Ping timeout: 240 seconds]
eraserhd has joined #nix-darwin
eraserhd3 has quit [Ping timeout: 256 seconds]
philr has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 264 seconds]
iH8c0ff33 has joined #nix-darwin