!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
16 May 2024
@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
@puck:puck.moepuck okay so i just ran nix develop -vvvv, and grabbed the building of '/nix/store/ivs7b52v8h757wr2m7c00z5y958w33k1-nix-shell-env.drv^*' from .drv file: created line 23:07:49
@delroth:delroth.netdelrothalso23:07:50
@qyriad:katesiria.orgQyriad
In reply to@puck:puck.moe
why is this part of Nix. this is nixpkgs-specific
the general problem of nix being so poorly interoperable that it has to do everything itself >.>
23:07:55
@delroth:delroth.netdelroth
$ nix develop /nix/store/dr53sp25hyfsnzjpm8mh3r3y36vrw3ng-neovim-0.9.5^out
nix: src/libstore/derivations.cc:931: static std::string_view nix::BasicDerivation::nameFromPath(const nix::StorePath&): Assertion `nameWithSuffix.ends_with(extension)' failed.
23:07:59
@delroth:delroth.netdelrothso yeah23:08:02
@delroth:delroth.netdelrothlet's fix the parser23:08:04
@qyriad:katesiria.orgQyriadyeah23:08:17
@puck:puck.moepuck building that got me /nix/store/jnwd23hwyh8vim1k0pbnjp6843sl2xl9-nix-shell-env and i can just like. nix develop that store path, it looks like 23:08:32

Show newer messages


Back to Room ListRoom Version: 10