!UNVBThoJtlIiVwiDjU:nixos.org

Staging

187 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-24.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/70 Servers

Load older messages


SenderMessageTime
17 Oct 2024
@k900:0upti.meK900No, we dont10:40:08
@k900:0upti.meK900* No, we don't propagate optionals I tihnk10:40:14
@qyliss:fairydust.spaceAlyssa Rossactually I guess there's no harm if wlroots is linked with it10:40:16
@k900:0upti.meK900* No, we don't propagate optionals I think10:40:16
@emilazy:matrix.orgemilypropagating optional dependencies does not feel right to me tbh10:40:16
@emilazy:matrix.orgemily
In reply to @k900:0upti.me
No, we don't propagate optionals I think
(I think the problem is that ~everything is optional)
10:40:27
@qyliss:fairydust.spaceAlyssa Rossbecause it's getting basically propagated anyway10:40:27
@k900:0upti.meK900Because things that use wlr-vulkan will have to use libvulkan directly anyway10:40:32
@qyliss:fairydust.spaceAlyssa Rossokay yeah wlroots links libvulkan anyway10:41:26
@qyliss:fairydust.spaceAlyssa Rossso it's fine to propagate imo10:41:31
@k900:0upti.meK900Then propagate it yeah10:41:33
@k900:0upti.meK900I thought it dlopened it10:41:38
@emilazy:matrix.orgemilyyou could argue for propagating every runtime dependency like this, right?10:42:04
@qyliss:fairydust.spaceAlyssa Rossit uses vulkan-loader10:42:07
@emilazy:matrix.orgemily (what's with Nixpkgs having the habit of getting around to things just as not getting around to them becomes unbearably painful? we finally solved Darwin SDKs right as every package in the universe was refusing to build with the macOS 11 SDK or lost in some Rust setEnv capture soup. I start idly working on pkgconf stuff and then we run into this a couple months later) 10:42:37
@k900:0upti.meK900I still love that the first domino in this chain was me being unable to watch videos from Steam10:43:35
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
you could argue for propagating every runtime dependency like this, right?
I feel sort of weird about it, but I suspect I am just not completely following the logic for why propagating is more correct (rather than just easier) than adding the relevant packages to downstream derivations (so I am explicitly not objecting to it, but I would like to understand better at some point).
10:44:53
@k900:0upti.meK900If something depends on e.g. wlroots, which has requires.private: libffi or whatever10:45:22
@k900:0upti.meK900The downstream package should not know about libffi10:45:29
@k900:0upti.meK900It's an implementation detail of wlroots10:45:34
@emilazy:matrix.orgemilyright10:45:37
@k900:0upti.meK900So wlroots should propagate it10:45:38
@k900:0upti.meK900The downside of that is that it also works the other way10:45:48
@k900:0upti.meK900Because now a package that depends on both libffi and wlroots can depend on just wlroots and get libffi for free10:46:01
@emilazy:matrix.orgemily I mean maybe in an ideal world we'd have propagateJustForSandboxAndIndirectDeps or something 10:46:02
@k900:0upti.meK900By it leaking from wlroots10:46:07
@emilazy:matrix.orgemilythat "hides" it10:46:08
@k900:0upti.meK900Ideally we'd want like, full path references in pkg-config files10:46:28
@emilazy:matrix.orgemilyI'm not sure I see the logic for Vulkan though10:46:33
@emilazy:matrix.orgemily
In reply to @k900:0upti.me
Ideally we'd want like, full path references in pkg-config files
that sounds nice.
10:46:41

Show newer messages


Back to Room ListRoom Version: 6