!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1144 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org181 Servers

Load older messages


SenderMessageTime
25 Oct 2025
@emilazy:matrix.orgemily I'm not totally confident this isn't going to blow some things up on staging though 18:18:07
@emilazy:matrix.orgemilybut hopefully it will be manageable if it does18:18:20
@samasaur:matrix.orgsamasaur out of the list that qt uses (AppKit, CFNetwork, AssetsLibrary, Photos, AudioToolbox, ApplicationServices, Carbon, CoreFoundation, CoreServices, CoreGraphics, CoreText, CoreVideo, CryptoTok enKit, DiskArbitration, Foundation, IOBluetooth, IOKit, IOSurface, ImageIO, Metal, MobileCoreServices, QuartzCore, Security, SystemConfiguration, UIKit, CoreL ocation, CoreMotion, WatchKit, GameController, CoreBluetooth, AVFoundation, Photos, Contacts, EventKit, HealthKit, UniformTypeIdentifiers, Network, OpenGL), Network was the only example of a conflict 18:19:54
@samasaur:matrix.orgsamasaur so i think it's only likely to cause problems if anything wants libnetwork.tbd or some third-party conflicting name 18:20:25
@samasaur:matrix.orgsamasaur and it should be fixable with -DCMAKE_FIND_FRAMEWORK=LAST in cmakeFlags 18:20:47
@emilazy:matrix.orgemily I wonder what libnetwork.tbd is for 18:21:41
@samasaur:matrix.orgsamasaurbut yeah it is a breaking change. hopefully just theoretically and not in practice18:22:06
@samasaur:matrix.orgsamasaur
--- !tapi-tbd
tbd-version:     4
targets:         [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 
                   arm64e-macos, arm64e-maccatalyst ]
install-name:    '/usr/lib/libnetwork.dylib'
reexported-libraries:
  - targets:         [ x86_64-macos, x86_64-maccatalyst, arm64-macos, arm64-maccatalyst, 
                       arm64e-macos, arm64e-maccatalyst ]
    libraries:       [ '/System/Library/Frameworks/Network.framework/Versions/A/Network' ]
...
18:22:58
@samasaur:matrix.orgsamasaur i don't really know how to read these but it looks like it just reexports Network.framework? 18:23:14
@emilazy:matrix.orgemily

Randy Eckenrode: this code from booter.nix seems suspicious now:

  # This is a hack for resolving cross-compiled compilers' run-time
  # deps. (That is, compilers that are themselves cross-compiled, as
  # opposed to used to cross-compile packages.)
  postStage = buildPackages: {
    __raw = true;
    stdenv.cc =
      if buildPackages.stdenv.hasCC then
        if
          buildPackages.stdenv.cc.isClang or false
        # buildPackages.clang checks targetPackages.stdenv.cc (i. e. this
        # attribute) to get a sense of the its set's default compiler and
        # chooses between libc++ and libstdc++ based on that. If we hit this
        # code here, we'll cause an infinite recursion. Since a set with
        # clang as its default compiler always means libc++, we can infer this
        # decision statically.
        then
          buildPackages.pkgsBuildTarget.llvmPackages.libcxxClang
        else
          buildPackages.gcc
      else
        # This will blow up if anything uses it, but that's OK. The `if
        # buildPackages.stdenv.cc.isClang then ... else ...` would blow up
        # everything, so we make sure to avoid that.
        buildPackages.stdenv.cc;
  };
19:32:00
@emilazy:matrix.orgemilyhmm19:32:26
@emilazy:matrix.orgemily

but I guess it's only for

        else if (targetPackages.stdenv or stdenv).cc.isGNU then
          self.libstdcxxClang
        else
          self.libcxxClang;
19:32:29
@emilazy:matrix.orgemilyso it's fine19:32:34
@samasaur:matrix.orgsamasaurooh https://www.swift.org/blog/nightly-swift-sdk-for-android/20:05:34
@samasaur:matrix.orgsamasaurnot really relevant in a nixpkgs context afaik but interesting20:05:44
@reckenrode:matrix.orgRandy EckenrodeMaybe for cross to Android?20:56:29
@samasaur:matrix.orgsamasaurmm, yeah, i suppose so. i know very little about nix targeting mobile platforms21:25:08
@reckenrode:matrix.orgRandy EckenrodeI think it’s a thing, but you have to jump through some hoops to install the Android SDK.22:48:40
@emilazy:matrix.orgemilyI believe we have the NDK just packaged22:59:23
@emilazy:matrix.orgemilynonfree but packaged22:59:35
26 Oct 2025
@prince213:matrix.orgprince213Looks like it can't do UI03:31:04
@prince213:matrix.orgprince213More like a native library thing03:31:19
@prince213:matrix.orgprince213I was thinking about something like SwiftUI for android03:31:51
@samasaur:matrix.orgsamasauris anyone else a) using openssh from nixpkgs on their mac; b) seeing a HUGE slowdown when sshing interactively?06:15:21
@samasaur:matrix.orgsamasaur it could be my config but openssh 10.0 (from nixpkgs) and /usr/bin/ssh are find 06:15:55
@samasaur:matrix.orgsamasaur * it could be my config but openssh 10.0 (from nixpkgs) and /usr/bin/ssh are fine 06:15:57
@samasaur:matrix.orgsamasaurit's actually incredibly bad06:18:48
@samasaur:matrix.orgsamasaurand openssh.com is down so i can't check the changelog for 10.206:19:14
@samasaur:matrix.orgsamasaur(the problem is with 10.1)06:19:26
@prince213:matrix.orgprince213If you want changelog for 10.1: https://web.archive.org/web/20251009000425/https://www.openssh.com/releasenotes.html06:43:07

Show newer messages


Back to Room ListRoom Version: 6