!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

224 Members
74 Servers

Load older messages


SenderMessageTime
18 Apr 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) The fix is the same as libunistring, just adding am_cv_func_iconv_works = "yes" 09:15:43
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Fixing this https://github.com/NixOS/nixpkgs/pull/39969109:31:27
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)* Fixing this https://github.com/NixOS/nixpkgs/pull/39969409:43:46
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I feel like we are building perl too many times in stdenv bootstrap12:20:01
@trofi:matrix.orgtrofihttps://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L39 has a few handly calls to look at the various stages of stdenv12:32:05
@trofi:matrix.orgtrofi autoconf gets pulled in and out from tie to time based on amount of autoreconfHook used during bootstrap. a typical perl user 12:33:23
@trofi:matrix.orgtrofi
$ nix-store --query --graph $(nix-instantiate -A stdenv)  | grep -P -- '->.*perl-5.40.0.drv' | awk '{print $3}' | sort -u

"92dqkd8x6yh185ps4bbmqdnyzcswsc1q-perl-5.40.0.drv"
"r566ksw3ydjyr1vyzgzn6pbrjx052xs7-perl-5.40.0.drv"
"wgkgyyh5lha8nf6l3w8i3g62gcpwyyfw-perl-5.40.0.drv"

suggests we build it 3 times. Not too many.

12:36:04
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
In reply to @trofi:matrix.org
$ nix-store --query --graph $(nix-instantiate -A stdenv)  | grep -P -- '->.*perl-5.40.0.drv' | awk '{print $3}' | sort -u

"92dqkd8x6yh185ps4bbmqdnyzcswsc1q-perl-5.40.0.drv"
"r566ksw3ydjyr1vyzgzn6pbrjx052xs7-perl-5.40.0.drv"
"wgkgyyh5lha8nf6l3w8i3g62gcpwyyfw-perl-5.40.0.drv"

suggests we build it 3 times. Not too many.

Thanks for the example. I just recalled there is a graph in hydra>nixpkgs>staging>some job>build dependencies
12:39:05
@trofi:matrix.orgtrofihttps://bpa.st/raw/RO2Q is the full list of users12:39:05
@trofi:matrix.orgtrofi But it does not help that perl recently disabled parallel builds. 12:40:33
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Maybe we can disable check for early stages to save some build time12:41:18
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)As the packages are not presented in final stdenv it shouldn't be a problem12:41:51
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Anyway, I'm approaching hello, maybe in stage 3. It's insane that loongarch64 doesn't require a lot of patches nowadays12:48:08
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Only 3 bugs from us to fix12:50:07
@trofi:matrix.orgtrofii'd expect most linux targets to Just Work12:57:50
19 Apr 2025
@alexandrutocar:matrix.org@alexandrutocar:matrix.org left the room.10:49:29
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 to jopejoe1 (4094@eh22).13:00:43
@alexfmpe:matrix.orgalexfmpe changed their profile picture.23:56:08
20 Apr 2025
@rosscomputerguy:matrix.orgTristan RossIf anyone else wants to look at this before it's merged, please do. https://github.com/NixOS/nixpkgs/pull/39479704:23:42
@rosscomputerguy:matrix.orgTristan Ross I'm going to work on what this is: https://github.com/NixOS/nixpkgs/pull/375435#discussion_r1927770569
We'll have a new nixpkgs config option called allowVariants and we'll have pkgs/top-level/variants.nix. This enables the nixpkgs variants like pkgsLLVM, pkgsMusl, etc.
15:12:20
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/400351 we have the variants in this pr15:27:58
@emilazy:matrix.orgemilyhow does that interact with https://github.com/NixOS/nixpkgs/pull/380342?15:29:27
@emilazy:matrix.orgemilyah, it's just making them alias-ish15:29:52
@rosscomputerguy:matrix.orgTristan RossYeah, it's just alias-like15:30:01
@emilazy:matrix.orgemily wouldn't it be better to just put them behind config.allowAliases like other convenience things? 15:30:04
@rosscomputerguy:matrix.orgTristan RossWell, they're kinda different imo.15:30:21
@rosscomputerguy:matrix.orgTristan Ross An alias is something more like llvmPackages_latest being a shorthand for the latest LLVM version, it's an alias lol 15:30:52
@rosscomputerguy:matrix.orgTristan RossBut these are variants of nixpkgs15:31:01
@rosscomputerguy:matrix.orgTristan RossSome of these might be needed for some things to function, I want to move more from stage into variants but I didn't want to break anything.15:32:18
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I had an issue with allowAliases15:33:12

Show newer messages


Back to Room ListRoom Version: 9