!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
3 Jul 2025
@zhaofeng:zhaofeng.liZhaofeng Libecause it wasn't actually a bouncer but used its own protocol so it could provide actual scrollback, notifications, etc01:18:48
@saiko:knifepoint.netKatalin 🔪I already have a bouncer so the whole client/server thing it has going on is just really awkward to me01:19:07
@zhaofeng:zhaofeng.liZhaofeng Li* because it's not actually a bouncer but uses its own protocol so it can provide actual scrollback, notifications, etc (let's not use past tense as it's probably still alive :p)01:19:38
@saiko:knifepoint.netKatalin 🔪
In reply to @zhaofeng:zhaofeng.li
QString... qt?
(also, unfortunately anything QObject straight up doesn’t import. RIP)
01:19:51
@saiko:knifepoint.netKatalin 🔪it would have been cool to at least be able to pass them around01:20:37
@saiko:knifepoint.netKatalin 🔪iirc it was something about its constructor or destructor01:20:50
@saiko:knifepoint.netKatalin 🔪oh right, yeah01:35:15
@saiko:knifepoint.netKatalin 🔪they’re immovable types obviously, and as such they have a deleted move constructor, I think that was it01:35:44
@saiko:knifepoint.netKatalin 🔪it would probably be fine if they were marked with the “import_as_ref” swift attr but obviously I can’t do that with foreign library code01:36:14
@reckenrode:matrix.orgRandy Eckenrode When did libc++ get std::span? 01:38:03
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/apple-oss-distributions/ICU/blob/71e88350afd8f8bcbb8a387edafd090de9ff7cca/icu/icu4c/source/i18n/dtptngen.cpp#L51-L5402:22:05
@reckenrode:matrix.orgRandy Eckenrode☹️02:22:13
@reckenrode:matrix.orgRandy EckenrodeI got past that, but a test is failing because Apple did not include the test data. It should be fixable, but I need to get some sleep. I’ll work on it tomorrow.03:41:44
@niklaskorz:matrix.orgniklaskorz oh no 🫠 maybe swift-foundation-icu helps? that does not include a private header there 06:57:44
@niklaskorz:matrix.orgniklaskorzhttps://github.com/swiftlang/swift-foundation-icu/blob/main/icuSources/i18n/dtptngen.cpp06:57:47
@reckenrode:matrix.orgRandy Eckenrode
In reply to @niklaskorz:matrix.org
oh no 🫠 maybe swift-foundation-icu helps? that does not include a private header there
WebKit has (or had) a copy. I got it from there.
10:31:19
@reckenrode:matrix.orgRandy EckenrodeThat version is also behind the source release version. It’s ICU 74 while the 15.5 source release is 76.1.10:32:45
@lilliedev:matrix.orgLillieHow do you define dock using home-manager, looked at https://mynixos.com/search?q=dock? But seems to only be possible using systems.defaults ?16:46:46
@lilliedev:matrix.orgLillie* How do you define dock using home-manager, looked at https://mynixos.com/search?q=dock? Seems to only be possible using systems.defaults ?16:47:33
@samasaur:matrix.orgsamasaur anything you can set using system.defaults in nix-darwin can be set using targets.darwin.defaults in home-manager 16:51:22
@samasaur:matrix.orgsamasaurthe fact that you're only seeing search results for nix-darwin means nix-darwin has typed options while home-manager does not16:51:46
@samasaur:matrix.orgsamasaurbut you can set freeform keys and values16:51:58
@lilliedev:matrix.orgLilliehome-manager do? https://mynixos.com/search?q=autohide shows home-manager/option/targets.darwin.defaults."com.apple.dock".autohide but it's later down in list for that result16:53:25
@lilliedev:matrix.orgLillie* home-manager do? https://mynixos.com/search?q=autohide shows home-manager/option/targets.darwin.defaults."com.apple.dock".autohide but it's later down in list for previous result16:54:52
@lilliedev:matrix.orgLillieI also tried using targets.darwin.defaults, but dock isn't being changed when I restart laptop16:56:26
@lilliedev:matrix.orgLilliehttps://github.com/nix-darwin/nix-darwin/blob/e04a388232d9a6ba56967ce5b53a8a6f713cdfcf/modules/system/defaults/dock.nix#L172 Do I have to maybe define tile data manually?17:14:01
@lilliedev:matrix.orgLillieIt works defining tile data manually17:23:06
@lilliedev:matrix.orgLillie
  targets.darwin = {
      defaults = {
         "com.apple.dock".persistent-apps=[
          { 
            tile-data.file-data = {
              _CFURLString = "/Applications/Discord.app";
              _CFURLStringType = 0;
            }; 
          }
         ];
      };
   };
};

Here's how I did it

17:28:53
@lilliedev:matrix.orgLillie *
  targets.darwin = {
      defaults = {
         "com.apple.dock".persistent-apps=[
          { 
            tile-data.file-data = {
              _CFURLString = "/Applications/Discord.app";
              _CFURLStringType = 0;
            }; 
          }
         ];
      };
   };
};

Here's how I added items to dock using home-manager

17:29:15
@khaneliman:matrix.orgAustin HorstmanHmm yeah. I don't think I went back and ported that logic to home manager. I had just been using nix-darwin for all my macos customization, at the time... 17:40:47

Show newer messages


Back to Room ListRoom Version: 6