!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

216 Members
70 Servers

Load older messages


SenderMessageTime
25 Apr 2025
@rosscomputerguy:matrix.orgTristan RossGotcha, I've opened https://github.com/NixOS/nixpkgs/pull/401821.17:39:07
26 Apr 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) Just found ghc963 (/nix/store/hkaxzm0yz9v8p92ay81pz4f2i741pkb1-ghc-9.6.3) depends on xgcc-libgcc (/nix/store/m2047a1xwgblgkrnbxz0yilkaqfrbf2b-xgcc-14-20241116-libgcc) 06:36:15
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)This should not be ideal I guess?06:36:28
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)
=> nix path-info pkgs#hello-cpp --recursive
/nix/store/id29wx2vp10d5xi6wzsykd4rb9ssaikx-gcc-14-20241116-libgcc
/nix/store/m2047a1xwgblgkrnbxz0yilkaqfrbf2b-xgcc-14-20241116-libgcc
/nix/store/nj19yxkqf0iqjqn4x6dbglsvqk5bgsbs-libunistring-1.3
/nix/store/y2xxdhhjy2l5mgpm3d0rw2wxmpd61my4-libidn2-2.3.7
/nix/store/rmy663w9p7xb202rcln4jjzmvivznmz8-glibc-2.40-66
/nix/store/ik84lbv5jvjm1xxvdl8mhg52ry3xycvm-gcc-14-20241116-lib
/nix/store/h48w85a2578wgzkcf9l6r1y6216s4j8p-hello-cpp
06:37:05
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)glibc depends on xgcc-libgcc06:43:32
27 Apr 2025
@trofi:matrix.org@trofi:matrix.org It's not idea, but it's intentional by nixpkgs. 05:25:08
@trofi:matrix.org@trofi:matrix.orgIt's embedded at https://github.com/NixOS/nixpkgs/blob/1ee8b713821882c66f5ecfde5c4e5874b1cb5e2f/pkgs/development/libraries/glibc/default.nix#L11305:25:57
@trofi:matrix.org@trofi:matrix.org

Specifically glibc ever gets build by a handicap xgcc from early stages during the bootstrap:

$ nix-store --query --graph $(nix-instantiate -A glibc) |& grep -P -- '.*gcc.*->.*glibc'

"qn5vjz1dxigfax34am4k4zxcx1y3q3v0-bootstrap-stage2-gcc-wrapper-14.2.1.20250322.drv" -> "q9rikjkwdf1qnlypwxr78jfmh9q99k1g-glibc-2.40-66.drv" [color = "blue"];
"x455my7bxwf4p7wngvwi4m23lf1np2vx-xgcc-14.2.1.20250322.drv" -> "q9rikjkwdf1qnlypwxr78jfmh9q99k1g-glibc-2.40-66.drv" [color = "red"];
05:30:08
@trofi:matrix.org@trofi:matrix.org * It's not ideal, but it's intentional by nixpkgs. 05:40:28
@haylin:envs.nethaylin joined the room.05:56:33
28 Apr 2025
@charlotte:vanpetegem.me@charlotte:vanpetegem.me left the room.14:28:33
30 Apr 2025
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)There isn't any consumer for these micro-architectures https://github.com/NixOS/nixpkgs/blob/master/lib/systems/architectures.nix12:08:25
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)How are they supposed to be applied to a package or stdenv?12:08:54
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I'm hitting a similar situation for loongarch64, where I'm advised to raise march level by default, but I still want to preserve the possibility to build with lower march level. See doc https://github.com/loongson/la-softdev-convention/blob/master/la-softdev-convention.adoc#10-operating-system-package-build-requirements12:10:29
@sandro:supersandro.deSandro 🐧I use it like this https://github.com/NuschtOS/nixos-modules/blob/main/modules/simd.nix#L2012:42:23
@sheeldotme:matrix.orgsheeldotme joined the room.14:47:37
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) Okay, so any usage of lib.systems.architectures.features? 14:56:46
@rosscomputerguy:matrix.orgTristan Ross
In reply to @aleksana:mozilla.org
Okay, so any usage of lib.systems.architectures.features?
Not that I'm aware of but I'll have to look at what it is first.
15:00:14
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) It doesn't look like an exhausive list of either gcc features or /proc/cpuinfo 15:03:42
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) Also what is the difference between lib.systems.platforms and lib.systems.examples? Why is armv7a-android in platforms while aarch64-android in examples? 15:59:36
1 May 2025
@rosariopulella:matrix.orgRosuavio changed their display name from Rosario Pulella to Rosuavio.20:09:28
3 May 2025
@reckenrode:matrix.orgRandy EckenrodeAny thoughts on changing the target check to treat arm64-apple-darwin and arm64-apple-macosxY.X as equivalent? Swift and SwiftPM heavily use the latter. It’s apparently the way that setting the deployment target is done.17:06:05
@qyliss:fairydust.spaceAlyssa RossI think we have to pick one17:09:21
@qyliss:fairydust.spaceAlyssa RossAssuming I'm correctly understanding what you mean by "target check"?17:10:12
@reckenrode:matrix.orgRandy Eckenrode The one that spams lots of warnings when you clang-wrapper -target <some triple>, and the triple is different from what the wrapper was built for. 17:11:16
@qyliss:fairydust.spaceAlyssa RossOh that sounds fine17:11:46
@qyliss:fairydust.spaceAlyssa RossAssuming LLVM treats them the same17:12:00
@reckenrode:matrix.orgRandy Eckenrode You can change the deployment target a bunch of different ways. The way Swift does it (and when invoking Clang) is via the triple. The wrapper tries to set the target via -mmacos-version-min=. I think there’s another way it can also fall back to do. 17:12:03
@reckenrode:matrix.orgRandy EckenrodeSo maybe Darwin can settle on following Swift’s lead and consolidate all those. Probably a 25.11 thing.17:12:38
@reckenrode:matrix.orgRandy Eckenrode

It would also fix the following warnings when SwiftPM invokes Clang.

Warning: supplying the --target arm64-apple-macosx10.13 != arm64-apple-darwin argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead.
17:14:42

Show newer messages


Back to Room ListRoom Version: 9