!9IQChSjwSHXPPWTa:lix.systems

Lix

1106 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms296 Servers

Load older messages


SenderMessageTime
15 May 2024
@qyriad:katesiria.orgQyriadDon't think so, most attrset values aren't also valid names in practice in Nixpkgs19:10:11
@qyriad:katesiria.orgQyriad* Don't think so, since most attrset values aren't also valid names in practice in Nixpkgs19:10:15
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @lily:lily.flowers
(is there a lib function to invert attrset names/values too?)
you can have a new attrset as key, but not as value. Would surprise me if that would even make sense to have an inverter here
19:10:18
@lily:lily.flowersLily Foster
In reply to @qyriad:katesiria.org
brb adding a new lib.attrsets API =P
my last friend who tried to add a companion to lib.genAttrs got bikeshed to hell and quit nixpkgs 🫠
19:10:19
@qyriad:katesiria.orgQyriad…Fucking hell.19:10:31
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)when lixpkgs?19:10:53
@jade_:matrix.org@jade_:matrix.org
In reply to @qyriad:katesiria.org
Like Lix can load arbitrary shared libraries which can add arbitrary primops to the evaluator
builtins.importNative
19:11:01
@qyriad:katesiria.orgQyriadOh gods I forgot about that asdfglkah19:11:15
@jade_:matrix.org@jade_:matrix.org
In reply to @grimmauld:grimmauld.de
when lixpkgs?
well, based on <redacted>, <redacted> <redacted> <redacted>
19:11:21
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)
In reply to @grimmauld:grimmauld.de
when lixpkgs?
(yes this is a joke, but yeah uh pain)
19:11:22
@lily:lily.flowersLily Foster you still gotta have the --allow-unsafe-native-code or something right? 19:11:29
@jade_:matrix.org@jade_:matrix.org
In reply to @lily:lily.flowers
you still gotta have the --allow-unsafe-native-code or something right?
yes
19:11:34
@qyriad:katesiria.orgQyriad
In reply to@jade_:matrix.org
well, based on <redacted>, <redacted> <redacted> <redacted>
Oh I can't wait to import <redacted> { }
19:11:38
@tc424:glasgow.social@tc424:glasgow.social
In reply to@grimmauld:grimmauld.de
when lixpkgs?
Well, there's a lot ideas being chucked around over in aux-world, remains to be seen what actually gets implemented..
19:11:51
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
you still gotta have the --allow-unsafe-native-code or something right?
(maybe we should add an alias of --oh-gods-its-cursed-please-dont-do-this... though both the option and builtin are undocumented so i guess that's close enough)
19:12:27
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)pain with the actual package repo is maintenance, you can't fork it without also tracking upstream, and that has issues of its own19:12:36
@puck:puck.moepuck
In reply to @jade_:matrix.org
well, based on <redacted>, <redacted> <redacted> <redacted>
don't forget <redacted> and <redacted> too
19:12:47
@lily:lily.flowersLily Foster what is this, an scp article? 19:13:10
@qyriad:katesiria.orgQyriad
In reply to@lily:lily.flowers
(maybe we should add an alias of --oh-gods-its-cursed-please-dont-do-this... though both the option and builtin are undocumented so i guess that's close enough)
Actually the option is documented, apparently, albeit barely, under nix.conf
19:13:14
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)didn't the nix hour guy want to pull out nixpkgs lib into its own standalone thing? that'd be a step in the right direction...19:13:22
@qyriad:katesiria.orgQyriad The option is already long enough though tbh: --option allow-unsafe-native-code-during-evaluation true =P 19:13:37
@lily:lily.flowersLily Fosteryeah infinisil has mentioned wanting that before19:13:39
@qyriad:katesiria.orgQyriadI'm not sure Nixpkgs lib should be standalone or not honestly19:14:00
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)i mean, standalone lib would make forking lib (and only lib!) significantly more viable19:14:32
@qyriad:katesiria.orgQyriad There are two competing problems there. lib has basically a prelude of basic type and value manipulations that you need in a functional language to get by, but it's also versioned with Nixpkgs, and separating that versionsing sounds like all kinds of trouble 19:14:52
@jade_:matrix.org@jade_:matrix.org
In reply to @qyriad:katesiria.org
There are two competing problems there. lib has basically a prelude of basic type and value manipulations that you need in a functional language to get by, but it's also versioned with Nixpkgs, and separating that versionsing sounds like all kinds of trouble
what you actually want to do, and i cannot believe nobody has done this yet, is to simply stand up an instance of josh and extract it
19:16:05
@qyriad:katesiria.orgQyriadomg19:16:18
@jade_:matrix.org@jade_:matrix.orgmonorepos are good actually19:16:40
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)huh? now what the hell is josh? y'all are in this way too deep XD19:16:42
@lily:lily.flowersLily Foster i assume https://github.com/josh-project/josh? 19:16:58

There are no newer messages yet.


Back to Room ListRoom Version: 10