!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
16 May 2024
@qyriad:katesiria.orgQyriad that sounds like it didn't recognize that you passed it a store path  23:41:15
@delroth:delroth.netdelroth so obviously it must be a flake 23:41:28
@delroth:delroth.netdelrothnot an error to show to the user, no no23:41:31
@delroth:delroth.netdelrothaaaaaa23:41:34
@julia:the-apothecary.clubjuliawonder if it just tried a bunch of types in order lol to see which one works I'm sure that's fine 23:41:54
@qyriad:katesiria.orgQyriad flakes-by-default is a terrible 'feature' of installables  23:41:54
@julia:the-apothecary.clubjulia* wonder if it just tried a bunch of parse variations in order lol to see which one works I'm sure that's fine 23:42:09
@puck:puck.moepuck
In reply to @julia:the-apothecary.club
wonder if it just tried a bunch of parse variations in order lol to see which one works I'm sure that's fine
no, because the ^out dropped
23:42:18
@julia:the-apothecary.clubjuliamm23:42:45
@qyriad:katesiria.orgQyriad I'm pretty sure it's literally like:
if is_store_path():
   do_store_path_stuff()
else:
    do_flake_stuff()
23:42:49
@delroth:delroth.netdelroth
$ nix build /foo^out
path '/foo' does not contain a 'flake.nix', searching up
error: getting status of '/foo': No such file or directory
23:43:03
@delroth:delroth.netdelroth (with a "clean" Lix from main, not with my changes) 23:43:18
@qyriad:katesiria.orgQyriad yeah that's what we would expect  23:43:28
@delroth:delroth.netdelrothI wasn't expecting "^out" to just drop23:43:36
@delroth:delroth.netdelrothor like, is it parsing it as "get output 'out' from flake /foo"?23:44:00
@qyriad:katesiria.orgQyriad yep 23:44:07
@qyriad:katesiria.orgQyriad I would bet money that if you put a hash after the end of that it would assume it was part of path instead 23:45:03
@puck:puck.moepuck w...what is "output 'out' from flake /foo" 23:45:04
@delroth:delroth.netdelrothpackages.$system.default.out23:45:23
@qyriad:katesiria.orgQyriad yup 23:45:35
@delroth:delroth.netdelroth... I wonder if it's still "packages" if I use it with nix develop23:45:43
@delroth:delroth.netdelrothnope23:45:57
@qyriad:katesiria.orgQyriad it tries "devShells" then "packages" iwrc   23:46:07
@puck:puck.moepuck
In reply to @delroth:delroth.net
packages.$system.default.out
uh. uhhhhhhhhhh
23:46:13
@julia:the-apothecary.clubjulia who designed this and can they be fired (from a cannon)
... oh wait, 😛
23:48:07
@qyriad:katesiria.orgQyriad
In reply to @qyriad:katesiria.org
it tries "devShells" then "packages" iwrc  
oh and then legacyPackages, of course
23:48:50
@jade_:matrix.orgjade_ hm, we probably shouldn't have our headers in <lix/meow.hh> actually, because this would prevent our api from ever being compatible with nix 23:49:17
@jade_:matrix.orgjade_but otoh lol do we really think they will ship a compatible C API?23:49:27
@puck:puck.moepuckuhhhh, complex23:52:09
@puck:puck.moepucki think we'll likely break the C api but i have plans to try and convince robert23:52:26

Show newer messages


Back to Room ListRoom Version: 10