!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

221 Members
70 Servers

Load older messages


SenderMessageTime
13 Nov 2024
@emilazy:matrix.orgemilyprobably ofborg is the appropriate place but contributing to ofborg is ?20:20:01
@emilazy:matrix.orgemily(also, doing an eval of three package sets every time anyone commits ever is definitely too intrusive/expensive :) )20:20:29
@p14:matrix.orgp14Don't need the whole set, merely the compiler. For what it's worth. But, yeah.20:26:11
@inayet:matrix.orgInayet joined the room.22:15:50
@sternenseemann:systemli.orgsterni
In reply to @emilazy:matrix.org
since comparing derivations is mildly evil I think
nothing evil about it https://github.com/NixOS/nix/blob/03dc3c57693ab64bac6258834fd36b55b723fc33/src/libexpr/eval.cc#L2738-L2746
22:49:54
@emilazy:matrix.orgemilythat's kind of an evil special-case. but okay, I was afraid it was more like comparing platforms22:50:41
@sternenseemann:systemli.orgsternifunctions in platform sets was unironically the best accidental feature ever22:53:16
@sternenseemann:systemli.orgsterniit had the perfect semantics for the equality check between localSystem and crossSystem22:53:33
@sternenseemann:systemli.orgsterninow everything's broken22:53:37
@sternenseemann:systemli.orgsterniyou can't do native cross anymore, nixpkgs has become like the build systems it used to fight 22:54:19
@sternenseemann:systemli.orgsterni like you have to pass crossOverlays = [ (self: super: {}) ] which is just stupid 22:57:45
@emilazy:matrix.orgemilyby "native cross", you mean always-cross?23:03:07
@artturin:matrix.orgArtturinWe need to resurrect https://github.com/NixOS/nixpkgs/pull/23833123:03:12
@emilazy:matrix.orgemilyI'd rather just do always-cross always.23:03:26
@sternenseemann:systemli.orgsterni Artturin: indeed because you can't reintroduce native cross now because of function equality or at least it'd be very weird 23:11:04
@sternenseemann:systemli.orgsternihmm scratch that actually it'd probably just be like before23:11:52
@sternenseemann:systemli.orgsterni emily: well just when you request it so not always 23:12:07
@emilazy:matrix.orgemilyyeah, but it should be always :)23:12:19
14 Nov 2024
@p14:matrix.orgp14

@sterni I am afk from writing on github but:

I wonder if the header has any target specific CPP?

I think the answer is negative. Logically, if the clang derivation is not varying according to targetPlatform, it cannot.

16:54:33
@p14:matrix.orgp14(Re https://github.com/NixOS/nixpkgs/pull/355532#issuecomment-2476054093)16:55:03
@emilazy:matrix.orgemilyI think sterni meant the libbfd headers16:55:09
@emilazy:matrix.orgemilywhich is a target-sensitive derivation16:55:14
@emilazy:matrix.orgemily though the .src isn't of course 16:55:27
@p14:matrix.orgp14I took those from source, not build.16:55:29
@emilazy:matrix.orgemilyyeah16:55:42
@sternenseemann:systemli.orgsterniindeed, the question would be if we can just build LLVMgold.so unconditionally or whether it will fail sometimes due to the header16:55:43
@emilazy:matrix.orgemilyyou do need to adjust the default of the flag that turns it on16:55:50
@emilazy:matrix.orgemilyI think that was the intention of the PR16:55:53
@emilazy:matrix.orgemily and p14 just missed that our default is target-specific 16:55:58
@emilazy:matrix.orgemilypresumably it builds fine on a Darwin host at present as you can do cross to Linux, so I think doing it unconditionally should be okay16:56:37

Show newer messages


Back to Room ListRoom Version: 9