!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

257 Members
80 Servers

Load older messages


SenderMessageTime
24 Nov 2023
@trofi:matrix.orgtrofi I think cherry-pick will be a world rebuild. I would suggest exploring local to firefox fix like adding an equivalent of NIX_LDFLAGS = "-L${stdenv.cc.cc.lib}/lib" under stdenv.isGNU. 14:28:41
@nbp:mozilla.orgnbp hexa: Does that sounds good? ^ 14:29:43
@hexa:lossy.networkhexasure, we can try that14:31:58
@hexa:lossy.networkhexathanks trofi!14:32:36
@hexa:lossy.networkhexa Artturin: what is your intention with the staging-23.05 backport here? https://github.com/NixOS/nixpkgs/pull/192459#event-10971886154 15:28:48
@hexa:lossy.networkhexa * Artturin: what is your plan with the staging-23.05 backport here? https://github.com/NixOS/nixpkgs/pull/192459#event-10971886154 15:28:52
@artturin:matrix.orgArtturin
In reply to @hexa:lossy.network
Artturin: what is your plan with the staging-23.05 backport here? https://github.com/NixOS/nixpkgs/pull/192459#event-10971886154
merged
15:31:03
28 Nov 2023
@a-n-n-a-l-e-e:matrix.orga-n-n-a-l-e-e joined the room.03:19:26
4 Dec 2023
@philiptaron:matrix.orgPhilip Taron (UTC-8) joined the room.20:56:40
5 Dec 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.00:38:34
@raitobezarius:matrix.orgraitobezariusdoes the stdenv people knows why checkMeta might have missed those: https://github.com/NixOS/nixpkgs/pull/272199 ?14:50:43
@raitobezarius:matrix.orgraitobezariusI also realized we have stdenv.meta = null derivations for some bootstrap stuff BTW14:50:57
@artturin:matrix.orgArtturin
In reply to @raitobezarius:matrix.org
does the stdenv people knows why checkMeta might have missed those: https://github.com/NixOS/nixpkgs/pull/272199 ?
https://github.com/NixOS/nixpkgs/blob/70475eb9dd8e0a3b7138cf829f96cb404fa1d94b/pkgs/stdenv/generic/check-meta.nix#L310
15:47:26
@raitobezarius:matrix.orgraitobezariusI see15:50:23
@raitobezarius:matrix.orgraitobezariusThank you!15:50:25
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/issues/27229015:52:55
@artturin:matrix.orgArtturincreated an issue15:53:04
15 Dec 2023
@nbp:mozilla.orgnbp 19:41:08
18 Dec 2023
@patryk4815:matrix.orgpatryk4815 joined the room.23:22:01
19 Dec 2023
@fgaz:matrix.orgfgaz lovesegfault: stdenv is currently broken for riscv64-linux in staging due to the 5-year-old assembler in the bootstrap tarball not supporting the vector extension. I built a new one (freshBootstrapTools.build on 5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8) and verified that it fixes the issue. I was told by raitobezarius to ping you for upload on tarballs.nixos.org 13:13:07
@qyliss:fairydust.spaceAlyssa Rosssee also https://github.com/NixOS/nixpkgs/issues/25371313:13:29
23 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:21
28 Dec 2023
@piegames:matrix.orgpiegames changed their display name from piegames to piegames [☎ 9712].01:34:09
@trofi:matrix.orgtrofi https://github.com/NixOS/nixpkgs/pull/277355 : minor fix to improve evaluation get rid of abort calls. 15:33:17
30 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius.19:52:54
31 Dec 2023
@piegames:matrix.orgpiegames changed their display name from piegames [☎ 9712] to piegames.12:41:09
@philiptaron:matrix.orgPhilip Taron (UTC-8) changed their display name from Philip Taron to Philip Taron (UTC-8).18:10:52
11 Jan 2024
@ss:someonex.netSomeoneSerge (UTC+3) joined the room.00:37:33
@ss:someonex.netSomeoneSerge (UTC+3)

Hi! We've been using something relatively ugly in cudaPackages because the "cuda compiler driver" usually needs an old gcc, but the libraries it produces need to co-exist with the normal nixpks shared libraries in the same process, and so they need to link against the same c++ standard library. It's like with clang using libstdc++, only the old gcc in place of clang.

I now consider using this uglyness outside cudaPackages because e.g. tensorflow also has some ideas about which compilers it's compatible with. I was suggested that instead of introducing new attributes or changing the meaning of attributes like gccXXStdenv I write a "stdenv adapter".

The hack is (ab)using wrapCCWith with gccForLibs. One bit I'm unsure of is whether I should pass wrapCC the target stdenv's wrapped cc, or the unwrapped one: https://github.com/NixOS/nixpkgs/pull/275947/commits/30016f9c4622fca0145e9904f471079e9393eff1#diff-cea9c91ed8344102b5d5fbf28eae400b8182d3b51d718f88345de8c7a187165fR243

We've been using the unwrapped one so far (because it didn't matter), but I wonder if discarding the old wrappers flags&c is the right thing to do in the general case? This suggests the 2nd question, do wrapCCs compose?

00:45:00
@connorbaker:matrix.orgconnor (he/him) (UTC-5) joined the room.04:11:57

Show newer messages


Back to Room ListRoom Version: 9