!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

408 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.138 Servers

Load older messages


SenderMessageTime
16 May 2024
@delroth:delroth.netdelroth(also if you'd rather have no ping here for stuff like that because you process bug / CL notifications async, lmk, I have no clue how y'all work so I'm defaulting to over-notifying...)22:50:28
@qyriad:katesiria.orgQyriadFailing at parse time is the solution we envisioned22:53:59
@qyriad:katesiria.orgQyriadWe had the E/easy on there since we imagined it would be as simply as changing the assertion to a user-facing error message, but seem to have underestimated the difficulty in that itself, oops22:54:40
@qyriad:katesiria.orgQyriad(And yeah pinging us like this is fine)22:55:42
@jade_:matrix.orgjade_ Qyriad: ok if we stage the libnixexpr->liblixexpr etc change? 22:57:23
@jade_:matrix.orgjade_(pinging as assignee)22:57:42
@delroth:delroth.netdelroth
In reply to @qyriad:katesiria.org
We had the E/easy on there since we imagined it would be as simply as changing the assertion to a user-facing error message, but seem to have underestimated the difficulty in that itself, oops
nah I think that if you had explained your envisioned fix it would have been fairly trivial but having to independently come to the same conclusion without having the same background was harder :P
22:57:50
@delroth:delroth.netdelroth still, happy it was the same conclusion (roughly - I think rejecting at parsing time is better than failing when making the worker goals, but that's tiny details) 22:58:22
@qyriad:katesiria.orgQyriad
In reply to@jade_:matrix.org
Qyriad: ok if we stage the libnixexpr->liblixexpr etc change?
Yes, absolutely. If you are getting to it before us feel free!
22:58:53
@jade_:matrix.orgjade_alrighty22:58:58
@qyriad:katesiria.orgQyriad
In reply to@delroth:delroth.net
nah I think that if you had explained your envisioned fix it would have been fairly trivial but having to independently come to the same conclusion without having the same background was harder :P
Yes we absolutely should have done that. I think in retrospect we may also have been somewhat confused, since the crash doesn't happen on Nix 2.3 because of course Nix 2.3 didn't have the ^ feature
22:59:37
@delroth:delroth.netdelrothalso re: docs thanks for the pointer, I checked many manual pages (incl. "nix build"), I checked the glossary, etc. and of course didn't think of checking the generic "nix CLI" page22:59:55
@delroth:delroth.netdelrothdoesn't even really make sense that it's there because I think it's only a "build" feature anyway?23:00:06
@delroth:delroth.netdelrothah no, there's examples there with path-info23:00:19
@qyriad:katesiria.orgQyriad Yeah, the nix build and co pages now at least have a link to the generic "nix CLI page" saying that that's where installables are documented, but it needs to be so much more 23:00:28
@qyriad:katesiria.orgQyriad and actually things like nix shell and nix develop can also use this syntax 23:00:55
@qyriad:katesiria.orgQyriadBasically any nix3 command that might also realise in the process can do that23:01:11
@delroth:delroth.netdelrothwhat does it mean to nix develop an output23:03:09
@qyriad:katesiria.orgQyriadfantastic question.23:03:51
@delroth:delroth.netdelrothyeah.23:03:58
@puck:puck.moepuckit uhhhhhhhhh23:04:00
@puck:puck.moepucksources $stdenv/setup, then does some churning to output the list of all variables and functions23:04:40
@puck:puck.moepuck why is this part of Nix. this is nixpkgs-specific 23:04:51
@delroth:delroth.netdelrothyeah but all that is derivation specific, nothing that has to do with outputs23:05:27
@puck:puck.moepuckoh! so23:06:04
@delroth:delroth.netdelrothI'd guess it's just being ignored?23:06:17
@puck:puck.moepuck you can nix develop a path that ends with -env and it'll .. just return an existing env file 23:06:21
@qyriad:katesiria.orgQyriad just ran a nix develop on openssl^bin and openssl^lib and envd in both of them and there was zero difference 23:06:22
@qyriad:katesiria.orgQyriadwait what23:06:45
@puck:puck.moepuckokay, sec, this is a bit tricky to show23:06:57

Show newer messages


Back to Room ListRoom Version: 10