!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

244 Members
75 Servers

Load older messages


SenderMessageTime
12 Dec 2024
@p14:matrix.orgp14 I'm not sure I've seen nixpkgs have a good answer to this. I think what's needed is a way of dumping the flags needed somewhere (e.g. to find the C/C++ stdlib) that the development compiler can pick up. My method is to use NIX_DEBUG on some other compiler and dump them into a clang{,++}.cfg next to my development compiler. 19:23:28
@p14:matrix.orgp14Which is a little fragile since there aren't GC roots for those references, but it seems to work well enough for my purposes as a development environment.19:23:56
@philiptaron:matrix.orgPhilip Taron (UTC-8) I filled it in. Did you see the draft I posted earlier? 19:45:57
@reckenrode:matrix.orgRandy EckenrodeI need to add my availability, though it’s probably a bit limited.19:46:53
@rosscomputerguy:matrix.orgTristan Ross What draft? 19:55:09
@philiptaron:matrix.orgPhilip Taron (UTC-8) Hold on, rather than linking the Matrix message I'll just make a pad. 20:05:31
@rosscomputerguy:matrix.orgTristan Ross Alright 20:05:45
@philiptaron:matrix.orgPhilip Taron (UTC-8) https://pad.lassul.us/gYaWH4LuQGeED_BUSGInQA 20:25:19
@rosscomputerguy:matrix.orgTristan Ross Looks good 20:26:02
@truby:matrix.orgtruby Tristan Ross: da67096a3b9bf56a91d16901293e51ba5b49a27e is my nixpkgs rev. Still hitting the gettext failure 20:29:04
@rosscomputerguy:matrix.orgTristan Ross https://github.com/NixOS/nixpkgs/commit/da67096a3b9bf56a91d16901293e51ba5b49a27e 20:29:36
@artturin:matrix.orgArtturinthe bump is not yet in master https://nixpk.gs/pr-tracker.html?pr=35825420:29:43
@truby:matrix.orgtrubyhm20:29:44
@artturin:matrix.orgArtturinwhile the removal is20:29:45
@artturin:matrix.orgArtturinwas submitted agaisnt master20:29:50
@truby:matrix.orgtrubyI'm probably misunderstanding the flake file format20:29:56
@truby:matrix.orgtrubyah, yep. bc27f0fde01ce4e1bfec1ab122d72b7380278e68 sorry20:30:10
@rosscomputerguy:matrix.orgTristan RossYeah, Artturin is right. That rev doesn't have it yet.20:31:15
@truby:matrix.orgtrubythat rev is from 3 days ago though? 20:31:38
@artturin:matrix.orgArtturinthe bump is in staging20:31:53
@artturin:matrix.orgArtturinnot yet in master20:31:56
@truby:matrix.orgtrubyah ok. Anything I can do to work around that? "just use staging"? :)20:32:19
@truby:matrix.orgtrubyIf this was fixed before in master and the fix was removed for a version bump, why is the removal of the fix in master while the fix is still in staging? Sorry if this is a naieve question πŸ˜…20:35:29
@philiptaron:matrix.orgPhilip Taron (UTC-8) All: Please edit away, or post on behalf of the team Tristan Ross 20:37:30
@artturin:matrix.orgArtturin
In reply to @truby:matrix.org
If this was fixed before in master and the fix was removed for a version bump, why is the removal of the fix in master while the fix is still in staging? Sorry if this is a naieve question πŸ˜…
The creator of https://github.com/NixOS/nixpkgs/pull/360044 put it in the wrong branch
20:45:01
@truby:matrix.orgtrubyI do seem to be getting further after pinning to the parent of that commit :)21:00:19
13 Dec 2024
@rosscomputerguy:matrix.orgTristan Ross I'm curious as to why we do use${compiler} to change the compiler out instead of something like cc = "clang". I probably could work on a PR to do that. It probably would work better with composing with the other various pkgs. 18:17:54
@sternenseemann:systemli.orgsterni More often than not, swapping out things doesn't work individually useLLVM for example implies some sort of whole LLVM toolchain. 22:17:42
@sternenseemann:systemli.orgsterniThe weird API is because the implicit assumption is of course that every platform has its own toolchain and not multiple alternative ones22:18:20
@sternenseemann:systemli.orgsterniIdeally we'd allow switching out things individually, but there are limits e.g. clang and GNU binutils only work together to an extent (only C, no LTO)22:18:53

Show newer messages


Back to Room ListRoom Version: 9