!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

258 Members
80 Servers

Load older messages


SenderMessageTime
14 Sep 2023
@trofi:matrix.orgtrofi

Will cross-post here for general amusement as well:

Fun fact: nix has headers-only nlohmann_json dependency in it's output closure and pipewire has python. Chances are https://github.com/NixOS/nixpkgs/pull/255192 will fix it (more words: https://trofi.github.io/posts/298-unexpected-runtime-dependencies-in-nixpkgs.html).

22:14:07
15 Sep 2023
@artturin:matrix.orgArtturin
In reply to @trofi:matrix.org

Will cross-post here for general amusement as well:

Fun fact: nix has headers-only nlohmann_json dependency in it's output closure and pipewire has python. Chances are https://github.com/NixOS/nixpkgs/pull/255192 will fix it (more words: https://trofi.github.io/posts/298-unexpected-runtime-dependencies-in-nixpkgs.html).

Could it cause https://github.com/NixOS/nixpkgs/issues/41340
01:19:42
@artturin:matrix.orgArtturin* In reply to @trofi:matrix.org Will cross-post here for general amusement as well: Fun fact: nix has headers-only nlohmann_json dependency in it's output closure and pipewire has python. Chances are https://github.com/NixOS/nixpkgs/pull/255192 will fix it (more words: https://trofi.github.io/posts/298-unexpected-runtime-dependencies-in-nixpkgs.html). Could it cause https://github.com/NixOS/nixpkgs/issues/41340 on large closures01:20:41
@artturin:matrix.orgArtturin* Could it cause https://github.com/NixOS/nixpkgs/issues/41340 on large closures 01:21:03
@trofi:matrix.orgtrofiYup. I initially tried without deduping the argument and got failures on `qemu`. I'm sure it also makes the process forking slower. Would be nice if `nixpkgs` used response files for all of it`s unbounded argument lists :)05:46:22
16 Sep 2023
@p14:matrix.orgp14I've got a pipeline of things I want to fix to make pkgsLLVM.pkgsStatic to work well, but review is going slow. I don't want to generate a mass of PRs which go unreviewed for a long time since that risks increasing the infinite TODO list for everybody. Any kind souls able to help me clear this review from the pipeline? I hope it is uncontroversial. https://github.com/NixOS/nixpkgs/pull/25311609:07:47
@p14:matrix.orgp14 * [xpost from exotic nix targets] I've got a pipeline of things I want to fix to make pkgsLLVM.pkgsStatic to work well, but review is going slow. I don't want to generate a mass of PRs which go unreviewed for a long time since that risks increasing the infinite TODO list for everybody. Any kind souls able to help me clear this review from the pipeline? I hope it is uncontroversial. https://github.com/NixOS/nixpkgs/pull/25311609:08:01
@me:indeednotjames.comemily joined the room.12:38:24
@me:indeednotjames.comemilystdenv/patch-shebangs fix: https://github.com/NixOS/nixpkgs/pull/25546314:53:23
20 Sep 2023
@trofi:matrix.orgtrofi Quiz Question: how many arguments to a binary do you think you can pass as a maximum on Linux? :) (directly related to cc-wrapper abusing NIX_CFLAGS_COMPILE and friends). 20:56:26
21 Sep 2023
@trofi:matrix.orgtrofiSpoilers (not a lot): https://trofi.github.io/posts/299-maximum-argument-count-on-linux-and-in-gcc.html18:38:01
@dedmunwalk:matrix.orgdedmunwalk joined the room.23:09:44
24 Sep 2023
@yuka:yuka.devYureka (she/her)
In reply to @trofi:matrix.org
Spoilers (not a lot): https://trofi.github.io/posts/299-maximum-argument-count-on-linux-and-in-gcc.html
I ran into similar issues when building Firefox and telegram desktop with musl libc
14:46:32
@yuka:yuka.devYureka (she/her)execve would fail because the environment was too large14:46:49
@trofi:matrix.orgtrofiI vaguely remember musl decided to do 128K long stacks (or similar).14:47:53
@yuka:yuka.devYureka (she/her)Yeah, because that is also the max env size defined in Linux kernel headers14:48:31
@yuka:yuka.devYureka (she/her)* Yeah, but also 128K or so is the max env size defined in Linux kernel headers14:48:57
@yuka:yuka.devYureka (she/her)For compatibility reasons or something14:49:15
@trofi:matrix.orgtrofiYeah, it's an arbitrary limit. Would be nice to increase it to 6M :)15:07:33
@kity:kity.wtfproblems
In reply to @yuka:yuka.dev
Yeah, because that is also the max env size defined in Linux kernel headers
per variable that is
15:25:41
@kity:kity.wtfproblemsa different maximum applies to the env as a whole, according to the article i think?15:26:16
@artturin:matrix.orgArtturin
In reply to @trofi:matrix.org
Yeah, it's an arbitrary limit. Would be nice to increase it to 6M :)
better do it soon so we can use it in 3 years 😅
15:30:25
@artturin:matrix.orgArtturinI saw news about the lts kernels moving to 2 years of support15:34:21
@trofi:matrix.orgtrofiLet's try https://lkml.org/lkml/2023/9/24/381 :)19:30:52
@raitobezarius:matrix.orgraitobezariusgood see you in 6.720:10:32
@artturin:matrix.orgArtturinbackport 😄 (i don't know how kernel backports work)20:12:52
@raitobezarius:matrix.orgraitobezariuswon't happen20:13:11
@trofi:matrix.orgtrofi NixOS can always do it without the upstream blessing :) 20:15:54
@trofi:matrix.orgtrofi(but I don't think it's a good idea)20:16:13
@artturin:matrix.orgArtturin
In reply to @trofi:matrix.org
NixOS can always do it without the upstream blessing :)
yeah but we would drop support for all other distros
20:16:13

Show newer messages


Back to Room ListRoom Version: 9