!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
@emilazy:matrix.orgemilyI wonder how hard it would be to rebase it on top of llbuild.20:05:04
@emilazy:matrix.orgemily which is what the new xcodebuild uses. 20:05:08
@emilazy:matrix.orgemilywe'd have the same build backend so we could theoretically support everything the real thing does.20:05:24
@reckenrode:matrix.orgRandy Eckenrode As another executor? It depends on how easily extensible the executor stuff is. 20:05:31
@emilazy:matrix.orgemilymore like, as the only executor20:05:55
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
we'd have the same build backend so we could theoretically support everything the real thing does.
How low-level is it? We may still need to do some translation or interpretation.
20:05:58
@emilazy:matrix.orgemilyeverything I know is from the first few paragraphs of the readme :)20:06:33
@emilazy:matrix.orgemilyimage.png
Download image.png
20:06:39
@emilazy:matrix.orgemily it seems like it would at least be a convenient framework for expressing xcodebuild, given that it's the actual framework xcodebuild is expressed in now. 20:06:54
@emilazy:matrix.orgemily in particular, I wouldn't be surprised if it subsumes some stuff that xcbuild has to do itself right now 20:07:21
@reckenrode:matrix.orgRandy Eckenrode I assume we have to implement the nodes (like the missing install/etc nodes). 20:11:19
@reckenrode:matrix.orgRandy Eckenrode If we could eventually drop the Meson stuff, that would be great as long as the result is equivalent to it. 20:12:55
@reckenrode:matrix.orgRandy Eckenrode Should xcbuild build with an Xcode project? 🤔 20:17:01
@reckenrode:matrix.orgRandy Eckenrode Bootstrap with the last CMake one. 20:17:15
@emilazy:matrix.orgemily do we have any precedent for installing $out/bin/ helpers that call out to an .app bundle? 20:39:42
@emilazy:matrix.orgemilyhmm21:06:42
@emilazy:matrix.orgemily it occurs to me that that specifically is something that .app copying makes awkward 21:06:49
@ihar.hrachyshka:matrix.orgIhar Hrachyshka emily: you mean like a wrapper? https://github.com/NixOS/nixpkgs/blob/47dd18486fd37cca452b070c79aefc0e37b68378/pkgs/applications/virtualization/podman-desktop/default.nix#L81 21:09:52
@emilazy:matrix.orgemilywhy is VideoToolbox outputting NV12 with the Nix build but P010 with the official build 🤔21:10:50
@emilazy:matrix.orgemily
In reply to @ihar.hrachyshka:matrix.org
emily: you mean like a wrapper? https://github.com/NixOS/nixpkgs/blob/47dd18486fd37cca452b070c79aefc0e37b68378/pkgs/applications/virtualization/podman-desktop/default.nix#L81
right
21:11:01
@emilazy:matrix.orgemilythis won't work well with a copying-based approach to bundle installation :(21:11:11
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
do we have any precedent for installing $out/bin/ helpers that call out to an .app bundle?
VS Code?
21:11:15
@emilazy:matrix.orgemilysince the two bundles will have distinct identity21:11:16
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
this won't work well with a copying-based approach to bundle installation :(
I have a workaround/hack for VS Code in my configs. I wonder if it can be generalized or if there is a pattern that can be used to better support copying.
21:12:22
@emilazy:matrix.orgemilyhmm wtf21:12:45
@emilazy:matrix.orgemily
[hwupload]   supports: nv12 ayuv64 yuv420p uyvy422 bgra
21:12:47
@emilazy:matrix.orgemily
[hwupload]   supports: nv12 ayuv64 yuv420p uyvy422 p010 nv16 p210 p216 nv24 p410 p416 bgra
21:12:52
@emilazy:matrix.orgemily oh maybe libplacebo needs a newer SDK 21:13:01
@weethet:catgirl.cloudWeetHetI've been searching for too long. I'm sure it exists but I don't remember the GitHub repo and I managed to lose it. It's a tool to install nix locally for one directory without a global store. I don't remember what it is and where I've seen it but I swear it was somewhere21:14:55
@weethet:catgirl.cloudWeetHetPlease help me find it 21:15:10

Show newer messages


Back to Room ListRoom Version: 6