!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
25 Oct 2025
@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
@prince213:matrix.orgprince213Oh wait they also have 10.2: https://web.archive.org/web/20251010111539/https://www.openssh.com/releasenotes.html06:43:29
@samasaur:matrix.orgsamasaurthank you!06:50:56
@samasaur:matrix.orgsamasaur

This is a bugfix release, primarily to fix a problem that rendered ssh(1) unusable when ControlPersist was enabled.

06:51:16
@samasaur:matrix.orgsamasauryeah that's def what i'm experiencing06:51:23
@samasaur:matrix.orgsamasaur prince213: re: the CMake stuff, I think that closed PR of mine you linked is probably not the way we want to do it if we do a qt fix on master while waiting for the staging cycle 06:58:08
@samasaur:matrix.orgsamasaur because the root issue is that we ourselves are setting CMAKE_FIND_FRAMEWORK=LAST in the cmake hook 06:59:10
@samasaur:matrix.orgsamasaurwhich is what that PR that went to staging fixed06:59:17

Show newer messages


Back to Room ListRoom Version: 6