!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

221 Members
70 Servers

Load older messages


SenderMessageTime
14 Dec 2024
@reckenrode:matrix.orgRandy EckenrodeThere’s too much magic happening right now, which is the thing I dislike. As soon as the magic stops working (or can’t be used), it gets harder to do the right thing.18:29:54
@reckenrode:matrix.orgRandy EckenrodeMy only concern with making it easier to swap out tooling is support burden. I assume this is aimed at package authors not users?18:31:41
@reckenrode:matrix.orgRandy EckenrodeBecause I absolutely do not want to waste time supporting users who want to build their Darwin packages with weird compilers/linkers/etc.18:32:16
@rosscomputerguy:matrix.orgTristan RossThe switching out of compilers in the PR I made is primarily intended for LLVM and Linux.18:36:16
@reckenrode:matrix.orgRandy EckenrodeMore constructively, how does it interact with hooks?18:36:38
@rosscomputerguy:matrix.orgTristan RossIt technically can support other compilers but personally, I intend it mostly for LLVM.18:36:49
@reckenrode:matrix.orgRandy EckenrodeRust makes heavy use of hooks to build packages. Capturing carious compilers in the hooks with a significant problem for Darwin.18:37:09
@reckenrode:matrix.orgRandy Eckenrode * 18:37:24
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
More constructively, how does it interact with hooks?
It doesn't, a future pr will change how linkers are used so bintools and linkers are less connected.
18:37:29
@rosscomputerguy:matrix.orgTristan RossThe future PR will more explicitly set tooling.18:37:47
@reckenrode:matrix.orgRandy Eckenrode This is more that rust.envVars.setEnv references stdenv.cc from various pkgsXY. You override the one in yours, but those remain as they were.0 18:38:41
@reckenrode:matrix.orgRandy Eckenrode * This is more that rust.envVars.setEnv references stdenv.cc from various pkgsXY. You override the one in yours, but those remain as they were. 18:38:46
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
Rust makes heavy use of hooks to build packages. Capturing carious compilers in the hooks with a significant problem for Darwin.
Rust in particular with LLVM will have some changes in the future so it won't need the silly way it composes a new llvmPackages
18:38:58
@rosscomputerguy:matrix.orgTristan RossI'm hoping to redo my CPU model PR as well to make CPU model changing work better between LLVM and GCC.18:40:22
@rosscomputerguy:matrix.orgTristan RossThis is prerequisite work before I try an LLVM bootstrap.18:41:01
15 Dec 2024
@rosscomputerguy:matrix.orgTristan Ross Huh, x86_64-unknown-linux-llvm was mentioned as a triplet which exists on the LLVM Discord server. I wonder if we could use that in the future. 02:19:27
@rosscomputerguy:matrix.orgTristan RossIt looks like we might be able to compile Nixpkgs for GPU's using an LLVM toolchain + libc.02:19:50
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event09:07:39
@rosscomputerguy:matrix.orgTristan Ross
In reply to @philiptaron:matrix.org
https://pad.lassul.us/gYaWH4LuQGeED_BUSGInQA
Been thinking, should we have a project board on GitHub? Something like Jira so we can organize and stage stuff. The pad you made made me think of it since it has a similar section. Plus it could make planning large changes easier.
18:20:29
16 Dec 2024
@keiichi:matrix.orgteto joined the room.11:30:04
17 Dec 2024
@reckenrode:matrix.orgRandy EckenrodeCould this toolchain stuff be used with Windows? MinGW LLVM is a thing. There’s one project I want to package (dxmt) that requires it.16:43:03
@k900:0upti.meK900We have a mingw gcc toolchain16:59:01
@rosscomputerguy:matrix.orgTristan Ross
In reply to @reckenrode:matrix.org
Could this toolchain stuff be used with Windows? MinGW LLVM is a thing. There’s one project I want to package (dxmt) that requires it.
Theoretically, it just requires updating where the compiler gets set inside the stdenv and updating the lib to adjust defaults.
17:25:41
@rosscomputerguy:matrix.orgTristan Ross It might work already as is 17:26:09
@reckenrode:matrix.orgRandy Eckenrode
In reply to @k900:0upti.me
We have a mingw gcc toolchain
The project uses this toolchain for the Windows parts, which is all LLVM: https://github.com/mstorsjo/llvm-mingw
17:28:15
@reckenrode:matrix.orgRandy EckenrodeIt’s also apparently the only way to target aarch64-windows because with a free toolchain.17:28:44
@reckenrode:matrix.orgRandy Eckenrode * 17:29:03
@reckenrode:matrix.orgRandy Eckenrode * 17:29:12
@reckenrode:matrix.orgRandy Eckenrodedxmt doesn’t (yet?) support aarch64-windows, but it could be of interest to nixpkgs in the future.17:29:44
@rosscomputerguy:matrix.orgTristan Ross To probably do windows, we might need to add a mingw toolchain option which then you can just switch out the compiler option. 17:30:35

Show newer messages


Back to Room ListRoom Version: 9