!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
21 Oct 2024
@mjm:midna.devmjmoh are we talking about the CLI tool called xcbuild?18:54:36
@mjm:midna.devmjmbecause the modern build system in xcode is also called xcbuild18:54:48
@mjm:midna.devmjmso that's confusing18:54:51
@emilazy:matrix.orgemily it's the only xcodebuild we have 18:54:53
@mjm:midna.devmjmi'm confused. when saying "xcbuild" were we meaning this https://github.com/facebookarchive/xcbuild or the modern non-legacy build system within Xcode/xcodebuild (which is the one I was talking about but maybe is not relevant)18:57:46
@mjm:midna.devmjmtho the former says it uses ninja/llbuild so in theory it should also have parallelization18:58:09
@mjm:midna.devmjmsorry if i've just injected confusion/uncertainty into this conversation18:58:41
@emilazy:matrix.orgemilythe former18:59:13
@mjm:midna.devmjmah, my mistake18:59:23
@emilazy:matrix.orgemilywe have no way of using the latter18:59:25
@mjm:midna.devmjmoh is this in a non-macOS context?19:01:07
@emilazy:matrix.orgemilyno19:05:46
@emilazy:matrix.orgemilywe do not have Xcode19:05:55
@emilazy:matrix.orgemilywe can't use any of Apple's proprietary tools19:06:03
@mjm:midna.devmjmalright got it19:06:15
@emilazy:matrix.orgemilythat's why we have to rewrite all their source dump build systems in Meson19:06:34
@emilazy:matrix.orgemily our mpv derivation produces both an .app and the usual Unix tree and they're essentially disjoint. awkward. 19:16:07
@ihar.hrachyshka:matrix.orgIhar Hrachyshka Firefox build system for dmg package attempts to call to hdiutil that is external to nixpkgs. I assume we don't want that to happen? (It fails to find the tool since the build shell PATH is pure.) Some other packages rip off hdiutil calls and manage .app themselves instead. Is it what I should do for Firefox too then? (This will require a patch for their python build tool that is the one calling to hdiutil.) 19:27:42
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
here's how it's used: https://github.com/mpv-player/mpv/blob/15ad917bb180cfe09a9f59008e04b7fad9cd6ee6/osdep/mac/meson.build#L64-L76
Is that for supporting Swift 4?
19:58:46
@emilazy:matrix.orgemilyI guess?19:58:58
@emilazy:matrix.orgemilyno clue tbh.19:59:00
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
also wait, i thought the whole point of xcbuild was to be fast.
It might be with the Ninja executor, but the regular one doesn’t support parallel builds.
19:59:27
@emilazy:matrix.orgemily
○  oupsypnm vcs@emily.moe 2024-10-21 20:35:57 43bf065b
│  mpv: remove `xineramaSupport` flag
○  uylouwzu vcs@emily.moe 2024-10-21 20:35:57 bc178b93
│  mpv: remove `screenSaverSupport` flag
○  sqpqopox vcs@emily.moe 2024-10-21 20:35:57 64d355a9
│  mpv: remove `libpngSupport` flag
○  wlztlrlw vcs@emily.moe 2024-10-21 20:35:57 60f4cac0
│  mpv: remove `theoraSupport` flag
○  tlsmylym vcs@emily.moe 2024-10-21 20:35:57 26f76a12
│  mpv: remove `speexSupport` flag

I like how literally all of these options either did nothing or broke the build to toggle.

19:59:55
@reckenrode:matrix.orgRandy Eckenrode It would be nice to fix the Ninja executor to work in a Nix build. It needs fixed to stop writing to DerivedData in $HOME. 20:03:24
@emilazy:matrix.orgemilythat's it?20:03:43
@emilazy:matrix.orgemilyis it otherwise compatible?20:03:46
@reckenrode:matrix.orgRandy Eckenrode The regular executor lets you set the derived data path, but the Ninja executor ignores it. 20:03:49
@reckenrode:matrix.orgRandy Eckenrode I think it may have some limitations. It’s probably fine for our needs. 20:04:06
@reckenrode:matrix.orgRandy Eckenrode We should probably fork xcbuild into the NixOS org and clean it up. 20:04:26
@reckenrode:matrix.orgRandy Eckenrode Modernize the C++, fix the issue preventing us from building MacVim, add actions for the PNG and TIFF stuff. 20:04:59

Show newer messages


Back to Room ListRoom Version: 6