!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
1 Dec 2025
@emilazy:matrix.orgemilyby definition they can't really be, since the point of the bootstrap compiler is to compile the compiler, and the bootstrap compiler can't do macros18:11:49
@emilazy:matrix.orgemilyso basically the only way they could be used is if there's a macOS-specific code path in the parts of the compiler that handle macros that uses stuff from the SDK that uses macros18:12:10
@emilazy:matrix.orgemilywhich seems really unlikely / very avoidable18:12:18
@reckenrode:matrix.orgRandy Eckenrode Yes, when building SwiftPM. If I try to turn around and build a Swift with macro support, swift-syntax fails in Concurrency because the TaskLocal property wrapper was changed to a macro in Swift 6. 18:13:01
@reckenrode:matrix.orgRandy EckenrodeOn macOS, you use Xcode to build Swift. You’re not intended to build from no Swift compiler.18:14:19
@emilazy:matrix.orgemilythe Environment section of the bug tracker says "Provide the Swift version, tag, or revision. If you suspect that the problem might be specific to a particular development platform or deployment target, please specify them as well.", so I expect a bug report with a Nix build is acceptable, fwiw18:14:27
@reckenrode:matrix.orgRandy EckenrodeThis bootstrap path is meant to replace cross-compilation for bringing up new targets.18:14:49
@reckenrode:matrix.orgRandy EckenrodeI also don’t want to have a conversation about our SDKs with Apple dev tools guys ….18:16:58
@emilazy:matrix.orgemily mpv does not build on the kosmickrisp branch fwiw 18:19:25
@emilazy:matrix.orgemily
       > Running phase: installCheckPhase
       > Executing versionCheckPhase
       > Did not find version 0.40.0 in the output of the command /nix/store/p1a85d42gasrfil0jg9wnhd5fsxiw6h7-mpv-0.40.0/bin/mpv --help
       >
       > Did not find version 0.40.0 in the output of the command /nix/store/p1a85d42gasrfil0jg9wnhd5fsxiw6h7-mpv-0.40.0/bin/mpv --version
18:19:28
@emilazy:matrix.orgemilyvery weird, since it is in fact in the output…18:19:55
@emilazy:matrix.orgemilymaybe it's an issue with my build env18:20:00
@benjaminsparks:chat.alugha.appBen Sparks Since I'm the last person to have touched versionCheckHook, I could give it a go? :)
where is this branch?
19:58:02
@emilazy:matrix.orgemily^, but it might be a problem on my end.20:05:09
@emilazy:matrix.orgemilyI have some local sandbox tweaks.20:05:13
@benjaminsparks:chat.alugha.appBen Sparks

It would seems so:

$ nom-build -A mpv https://github.com/reckenrode/nixpkgs/archive/refs/heads/kosmickrisp.zip
Finished at 21:37:11 after 4s
/nix/store/hk2kd4c6bdfz774hggqm7lpm2mfxc55p-mpv-with-scripts-0.40.0

$ ./result/bin/mpv --version 
mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
20:38:00
@xoredg:matrix.orgxoredI figure I might ask here since there's bound to be (hopefully) more Mac users, has anyone else's time backups stopped working since 25.11? not sure related but the timing is awfully close 23:08:23
@xoredg:matrix.orgxored
        global = {
          interfaces = "lo ${config.xored.ipv6.prefix}:28::${config.xored.hosts.nas.networking.interfaceId}/64 fe80::105f:89ff:fe1f:bc3%thunderbolt0/64";
          "bind interfaces only" = "yes";
          "disable netbios" = "yes";
          "workgroup" = "HOMELAB";
          "server string" = "fs";
          "netbios name" = "fs";
          "security" = "user";
          "guest account" = "nobody";
          "map to guest" = "bad user";
          "acl_xattr:ignore system acls" = "no";
          "acl_xattr:default" = "yes";
          # Enable Windows ACL (acl_xattr) and Mac (catia fruit streams_xattr) support
          "vfs objects" = "acl_xattr catia fruit streams_xattr";
        };
        "tm_share" = {
          "path" = "/tank/backups/tm_share";
          "valid users" = "xored";
          "public" = "no";
          "writeable" = "yes";
          "force user" = "xored";
          "fruit:aapl" = "yes";
          "fruit:time machine" = "yes";
        };
      };
23:09:57
@xoredg:matrix.orgxoredI have tried every fruit option and vfs object combination known to mankind I don't know what else to do, my storage is on zfs but it was working before and I didn't upgrade that23:11:34
@xoredg:matrix.orgxored * I have tried every fruit option and vfs objects combination known to mankind I don't know what else to do, my storage is on zfs but it was working before and I didn't upgrade that 23:11:53
@xoredg:matrix.orgxoredso I'm asking here while I rebuild 25.05 to confirm23:12:50
@reckenrode:matrix.orgRandy EckenrodeI haven’t upgraded my NAS to 25.11 yet, so I don’t know.23:15:22
@xoredg:matrix.orgxoredScreenshot 2025-12-01 at 3.16.21 PM.png
Download Screenshot 2025-12-01 at 3.16.21 PM.png
23:16:51
@xoredg:matrix.orgxoredI hate it here23:16:55
@xoredg:matrix.orgxored25.05 works23:16:57
@xoredg:matrix.orgxoredso what in the world they changed on samba23:17:11
@samasaur:matrix.orgsamasaurI literally just got it set up for me23:18:34
@samasaur:matrix.orgsamasaurTime Machine on samba on zfs23:19:14
@samasaur:matrix.orgsamasauri did it on unstable though so i probably would have hit the error you're seeing23:19:38
@samasaur:matrix.orgsamasaurwill check when i get home23:19:54

Show newer messages


Back to Room ListRoom Version: 6