!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

229 Members
75 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Jun 2025
@rosscomputerguy:matrix.orgTristan Rosshttps://github.com/NixOS/nixpkgs/pull/409851 this is a part of that work00:34:47
@emilazy:matrix.orgemily
In reply to @reckenrode:matrix.org
I’ve been wondering if we should generate a sysroot when setting up the stdenv and point the compiler to that. It would simplify the Darwin SDK and let me drop some workarounds in the Swift compiler.
I think that would help, yes. have you seen Clang's support for per-target config files?
08:24:50
@emilazy:matrix.orgemilythose will be another piece of the puzzle08:24:56
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
I think that would help, yes. have you seen Clang's support for per-target config files?
No. I was assuming we would do that then pass it with -sysroot (or whatever it is).
11:06:30
@reckenrode:matrix.orgRandy EckenrodeIf Clang lets us specify it in a config file, that’s better.11:06:50
@emilazy:matrix.orgemilyhttps://clang.llvm.org/docs/UsersManual.html#configuration-files we can set an env variable to a directory that it will automatically load a file with command line args from based on language and target11:10:06
@emilazy:matrix.orgemilythat doesn't quite solve cases where we have more complex logic based on other parameters or environment variables, but it is a substantial chunk of the no-compiler-wrappers puzzle11:11:35
@emilazy:matrix.orgemilyand we could hopefully work with LLVM to find ways to eliminate as much custom logic as possible and find ways to move the rest into LLVM drivers11:12:34

Show newer messages


Back to Room ListRoom Version: 9