!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
17 Nov 2025
@reckenrode:matrix.orgRandy Eckenrodehttps://matrix.to/#/!lheuhImcToQZYTQTuI:nixos.org/$lL5OOpX3h6xkj46aagLfnJGDZFA_4TxSysI7IyIqToU?via=nixos.org&via=matrix.org&via=nixos.dev01:12:59
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI saw c-ares thingy. is it the same?01:13:40
@reckenrode:matrix.orgRandy Eckenrode Why not check for __APPLE__ and error out for an unknown platform? 01:13:42
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaoops nevermind, matrix client is misbehaving01:14:01
@reckenrode:matrix.orgRandy Eckenrode

No. I ran into it trying to get Lix to use a fixed curl in my configs. I ended up doing this lovely override:


lixPackageSets.stable = nixpkgs-unstable.lixPackageSets.stable.overrideScope (final: prev: {
    lix = prev.lix.override {
      curl = nixpkgs-unstable.curl.override {
        c-aresMinimal = inputs.lix-fixed.legacyPackages.${pkgs.system}.c-aresMinimal.override {
          inherit (nixpkgs-unstable) cmake stdenv updateAutotoolsGnuConfigScriptsHook;
        };
      };
    };
  });
01:14:18
@reckenrode:matrix.orgRandy Eckenrode *

No. I ran into it trying to get Lix to use a fixed curl in my configs. I ended up doing this lovely override:


lixPackageSets.stable = nixpkgs-unstable.lixPackageSets.stable.overrideScope (final: prev: {
  lix = prev.lix.override {
    curl = nixpkgs-unstable.curl.override {
      c-aresMinimal = inputs.lix-fixed.legacyPackages.${pkgs.system}.c-aresMinimal.override {
        inherit (nixpkgs-unstable) cmake stdenv updateAutotoolsGnuConfigScriptsHook;
      };
    };
  };
});
01:14:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaguess I'll 1) post a staging patch backporting the gnulib fix for gnugrep; 2) report a bug to gnugrep so that they bump their gnulib submodule. (they are still sitting on an Apr 2025 commit in master)01:17:49
@reckenrode:matrix.orgRandy EckenrodeMy configs were my Swift branch from July, so I had some work to do to update them. My servers are actually still on 24.11, which should be fun to update.01:17:59
@reckenrode:matrix.orgRandy EckenrodeIt also affects coreutils. Probably anything using gnulib, but we don’t have a good way of dealing with that because we don’t de-vendor gnulib.01:18:24
@reckenrode:matrix.orgRandy EckenrodeNow that I have a working Lix again, I can try building KosmicKrisp.01:19:07
@ihar.hrachyshka:matrix.orgIhar Hrachyshkayep anyone using an old gnulib is affected. frankly, anyone NOT using gnulib is also affected. (if they use the interface)01:19:18
@ihar.hrachyshka:matrix.orgIhar Hrachyshka(if they use the interface AND assume it's safe)01:19:42
@ihar.hrachyshka:matrix.orgIhar Hrachyshkait's not clear if gnugrep is affected per se - I don't think it's multi-threaded?01:20:20
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathey just run all tests from gnulib regardless.01:20:33
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathe patch implementing MT for grep is 10 yo and not merged: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20768 so probably it's enough to disable the test after all01:26:10
@reckenrode:matrix.orgRandy EckenrodeRequires Metal 4. Good thing we have the 26.0 SDK.01:28:19
@reckenrode:matrix.orgRandy EckenrodeKosmicKrisp doesn’t appear to be included in Mesa 25.3.01:31:37
@reckenrode:matrix.orgRandy Eckenrodehttps://www.phoronix.com/news/KosmicKrisp-Merged-Mesa-26.0 says it’s targeting Mesa 26.0, which I guess would be released next year.01:33:40
@reckenrode:matrix.orgRandy Eckenrode mesa_clc crashes when building KosmicKrisp. 😭 02:13:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshkagnugrep here: https://github.com/NixOS/nixpkgs/pull/462444 (running nixpkgs-review for aarch64-darwin for -p gnugrep, should post the result in a few hours)02:31:10
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI assume for coreutils we'd have to actually backport the gnulib fix?02:31:56
@spewdins:beeper.comspewdinsTotally kinda sorta off topic02:32:11
@spewdins:beeper.comspewdinsI’m porting wayland to macOS02:32:17
@spewdins:beeper.comspewdinsAnd I’m getting somewhere02:32:24
@spewdins:beeper.comspewdinsimage0.jpeg
Download image0.jpeg
02:32:39
@spewdins:beeper.comspewdinsScreenshot_2025-11-15_at_9.37.41_PM.png
Download Screenshot_2025-11-15_at_9.37.41_PM.png
02:32:39
@spewdins:beeper.comspewdinsI wish a nix build of wayland was just readily available but isn’t. So..02:32:54
@spewdins:beeper.comspewdinsI also did write my own CALayer compositor (still wip) but I’m able to render nixos foot over waypipe02:33:20
@spewdins:beeper.comspewdinsOh yea I ported waypipe too02:33:25
@spewdins:beeper.comspewdinsAnd I want it upstream to nix02:33:35

Show newer messages


Back to Room ListRoom Version: 6