!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1174 Members
β€œThere are still many issues with the Darwin platform but most of it is quite usable.” β€” http://yves.gnu-darwin.org190 Servers

Load older messages


SenderMessageTime
18 Dec 2025
@saiko:knifepoint.netKatalin πŸ”ͺ it doesn't have /usr/include as a default path at least from a quick test 17:00:36
@reckenrode:matrix.orgRandy Eckenrode Otherwise, I agree. I’m (ab)using include for CMake files and Swift modules. 17:01:01
@emilazy:matrix.orgemilyyou can get Clang to print out default paths. I forget the flag.17:01:02
@emilazy:matrix.orgemily I bet it works for swiftc too. 17:01:05
@emilazy:matrix.orgemily staticlib then :) 17:01:14
@saiko:knifepoint.netKatalin πŸ”ͺ ah, hold on. here we go 17:03:26
@saiko:knifepoint.netKatalin πŸ”ͺRedacted or Malformed Event17:04:21
@saiko:knifepoint.netKatalin πŸ”ͺ ah no, it only looks for a /usr/include/Foo/module.modulemap which is for the clang modules 17:06:08
@saiko:knifepoint.netKatalin πŸ”ͺ yeah, looks like no default module paths outside the toolchain dir 17:06:17
@saiko:knifepoint.netKatalin πŸ”ͺ this is with strace so I might have missed something 17:07:05
@saiko:knifepoint.netKatalin πŸ”ͺ (when you write 'import Foo', that is) 17:07:26
@saiko:knifepoint.netKatalin πŸ”ͺ good to know in any case, since I will need to deal with this in Meson at some point when I do installable libraries 17:11:14
@reckenrode:matrix.orgRandy EckenrodeI was thinking there might be some pushback on the evil I’m doing. πŸ˜‚17:32:33
@reckenrode:matrix.orgRandy Eckenrode I’m (ab)using dev because of the default lib.getDev done in make-derivation.nix. 17:33:16
@sarahec:matrix.orgSarah ClarkPeople question: my Darwin PRs get merged the slowest. Is there anybody I should include in the review list?18:33:36
@sarahec:matrix.orgSarah Clark(I'm focusing on Darwin fixes)18:34:07
@sarahec:matrix.orgSarah Clark And a tech question: what's the best way to mark a package as broken on xx86_64-darwin? I'd use badPlatforms but recent PRs have been edited to use an inspect clause. 18:43:30
@sarahec:matrix.orgSarah Clark * And a tech question: what's the best way to mark a package as broken on x86_64-darwin? I'd use badPlatforms but recent PRs have been edited to use an inspect clause. 18:44:21
@toonn:matrix.orgtoonn There's a lot fewer Darwin maintainers with commit bit so I'm afraid it's unavoidable. 18:50:07
@sarahec:matrix.orgSarah Clark sigh yeah. And I've seen several committers say they don't care about Darwin. 18:52:38
@toonn:matrix.orgtoonn Not sure what an inspect clause is. I usually see branching on the platform, you could use that to set meta.broken. badPlatforms is semantically a bit different, it means "known not to build". Temporarily broken is not the same as not able to be built. 18:56:07
@reckenrode:matrix.orgRandy Eckenrode Probably something like lib.inspect.platforms.isDarwin or something like that. 18:56:56
@reckenrode:matrix.orgRandy EckenrodeYou’d combine whatever the right one for Darwin is plus the one for x86_64z18:57:26
@reckenrode:matrix.orgRandy Eckenrode * 18:57:34
@ihar.hrachyshka:matrix.orgIhar HrachyshkaKinda convoluted. What does it buy - guarding against string typos?18:58:05
@sarahec:matrix.orgSarah Clarkyes, that. I decided to drag out my Intel MBP and disable the failing tests instead.19:57:04
19 Dec 2025
@nazarewk:matrix.orgkdn

emily: this is my build env info, I failed to build aiohttp python package due to too many open files, unless I added NIX_BUILD_CORES=2:

kdn@oams ~> TERM=xterm ssh anji
Last login: Fri Dec 19 14:50:23 2025 from 100.79.80.79
kdn@anji:~/ > nom build 'nixpkgs#tests.build-environment-info'
this derivation will be built:
  /nix/store/qrz6qkidl71gmf19abzah4a3vvdx20gx-build-environment-info.drv
build-environment-info> building '/nix/store/qrz6qkidl71gmf19abzah4a3vvdx20gx-build-environment-info.drv'
build-environment-info> :: uname -a
build-environment-info> Darwin anji 25.0.0 Darwin Kernel Version 25.0.0: Mon Aug 25 21:17:53 PDT 2025; root:xnu-12377.1.9~3/RELEASE_ARM64_T8112 arm64 arm Darwin
build-environment-info> :: env SYSTEM_VERSION_COMPAT=0 plutil -p /System/Library/CoreServices/SystemVersion.plist
build-environment-info> {
build-environment-info> 	BuildID = "6E524054-8D44-11F0-A95E-B45191F12EA9";
build-environment-info> 	ProductBuildVersion = 25A354;
build-environment-info> 	ProductCopyright = "1983-2025 Apple Inc.";
build-environment-info> 	ProductName = macOS;
build-environment-info> 	ProductUserVisibleVersion = "26.0";
build-environment-info> 	ProductVersion = "26.0";
build-environment-info> 	iOSSupportVersion = "26.0";
build-environment-info> }
build-environment-info> :: id
build-environment-info> uid=351(_nixbld1) gid=350(nixbld) groups=350(nixbld)
build-environment-info> :: getent passwd _nixbld1
build-environment-info> _nixbld1:********:351:350:Nix build user 1:/var/empty:/sbin/nologin
build-environment-info> :: ulimit -a
build-environment-info> core file size              (blocks, -c) 0
build-environment-info> data seg size               (kbytes, -d) unlimited
build-environment-info> file size                   (blocks, -f) unlimited
build-environment-info> max locked memory           (kbytes, -l) unlimited
build-environment-info> max memory size             (kbytes, -m) unlimited
build-environment-info> open files                          (-n) 1048576
build-environment-info> pipe size                (512 bytes, -p) 1
build-environment-info> stack size                  (kbytes, -s) 65520
build-environment-info> cpu time                   (seconds, -t) unlimited
build-environment-info> max user processes                  (-u) 2666
build-environment-info> virtual memory              (kbytes, -v) unlimited
build-environment-info> :: exit 1
13:52:13
@emilazy:matrix.orgemilyhow many cores do you have?14:03:09
@nazarewk:matrix.orgkdnnot sure, it's Mac Mini M2, probably 1214:03:36
@emilazy:matrix.orgemilyalso what Nix are you using?14:03:54

Show newer messages


Back to Room ListRoom Version: 6