!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

654 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues165 Servers

Load older messages


SenderMessageTime
20 May 2023
@6t8k:matrix.org6t8k * Ah, sorry, I thought it would be OK to ask this here because the Home Manager repo is under the nix-community GitHub org and didn't know there is a more specific room. Will ask there, thanks.19:54:39
@aidalgol:matrix.orgaidalgol
In reply to@6t8k:matrix.org
Ah, sorry, I thought it would be OK to ask this here because the Home Manager repo is under the nix-community GitHub org and didn't know there is a more specific room. Will ask there, thanks.
AIUI, this channel is really just for meta discussion about the nix-community org itself.
20:32:20
21 May 2023
@hsngrmpf:matrix.orgDavHauMaybe some admin can add this information to the channel description.08:29:31
@adis:blad.isadisbladisI could do it, but how would it be phrased?09:09:27
@hsngrmpf:matrix.orgDavHauMaybe: Meta discussions about the nix-community org. (For project specific discussions use github issues or projects own matrix channel)09:46:18
@adis:blad.isadisbladis changed the room topic to "Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel)" from "Discussions related to https://nix-community.org/ ".11:17:20
@adis:blad.isadisbladis
In reply to @hsngrmpf:matrix.org
Maybe:
Meta discussions about the nix-community org. (For project specific discussions use github issues or projects own matrix channel)
I made a slight variation just to get a clickable link, thanks!
11:18:04
22 May 2023
@lunik1:lunik.onelunik1 joined the room.12:47:11
23 May 2023
@daedmon:matrix.org@daedmon:matrix.org joined the room.21:21:49
25 May 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to disko in NixOS 23.11 when.13:32:19
@raitobezarius:matrix.orgraitobezarius changed their display name from disko in NixOS 23.11 when to raitobezarius.13:37:26
26 May 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.18:41:00
27 May 2023
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.16:40:24
28 May 2023
@fedx:matrix.org@fedx:matrix.orgMessing with the NUR and I cannot figure out how to take one package as an input of another within the same repo. 16:15:53
@fedx:matrix.org@fedx:matrix.orgMore specificaly, I need to create a builder to simplify a standard build process, and cannot figure out how to get that into another package.16:22:02
@fedx:matrix.org@fedx:matrix.org Wait, would I use something like mypkg = pkgs.callPackage ./path/to/thing {inherit myBuilder};? 16:40:52
29 May 2023
@joerg:thalheim.ioMic92 invited @inclyc:matrix.orgYingchi Long.09:23:34
@inclyc:matrix.orgYingchi Long joined the room.09:59:52
@inclyc:matrix.orgYingchi LongHello guys! I would like to migrate my recently wrote language server (WIP) into nix-community incubator https://github.com/inclyc/nixd . I've sent emails to administrators, and what should I do now?🙂10:52:23
30 May 2023
@daxvena:matrix.orgdaxvena oh i'm not sure, but wow this looks amazing Yingchi Long!! 00:19:10
@daxvena:matrix.orgdaxvenai'm guessing the support for cross-file analysis doesn't do dataflow analysis to infer function argument types from usage? if it did that would be magical, but even if not, this project looks really cool! i'll definitely have to check it out!00:19:33
@daxvena:matrix.orgdaxvena * i'm guessing the support for cross-file analysis doesn't do dataflow analysis to infer function argument types from usage? if it did that would be magical, but even with that, this project looks really cool! i'll definitely have to check it out!00:19:58
@daxvena:matrix.orgdaxvena * i'm guessing the support for cross-file analysis doesn't do dataflow analysis to infer function argument types from usage? if it did that would be magical, but even without that, this project looks really cool! i'll definitely have to check it out!00:20:10
@inclyc:matrix.orgYingchi Long
In reply to @daxvena:matrix.org
i'm guessing the support for cross-file analysis doesn't do dataflow analysis to infer function argument types from usage? if it did that would be magical, but even without that, this project looks really cool! i'll definitely have to check it out!
Well, this basic idea is, nixd allow you configure a global installable which has exactly same argument as nix eval. For each evaluation, we inject nix parsing & eval cache with our own AST structure that tracing eval information. If the file is a lambda (e.g. nixos modules), it will be evaluated with real arguments, and we can know which argument is passed to it. Generally lambdas could be invoked many times, nixd stores the lastest information.
01:42:49
@daxvena:matrix.orgdaxvenaoh ok!! so it doesn't merge each possible call, but that sounds way better than nothing!! that sounds amazing!01:43:58
@inclyc:matrix.orgYingchi LongScreenshot_20230528_124426_20230530094521.png
Download Screenshot_20230528_124426_20230530094521.png
01:45:39
@inclyc:matrix.orgYingchi LongScreenshot_20230528_124528_20230530094524.png
Download Screenshot_20230528_124528_20230530094524.png
01:45:44
@daxvena:matrix.orgdaxvenathat's really cool! i've been wanting this so badly 😅01:46:43
@inclyc:matrix.orgYingchi Long
In reply to @daxvena:matrix.org
that's really cool! i've been wanting this so badly 😅
For example you can inspect real arguments for callPackage & nixosModule?
01:47:54
@inclyc:matrix.orgYingchi LongAST injections now is generally pure magics. We have our own classes inherited from nix itself, and override its `eval` method. https://github.com/inclyc/nixd/blob/2ee1ef796dd6dd5f0bc8cc4a3bc804972018c973/lib/nixd/include/nixd/CallbackExpr.h#L21 https://github.com/inclyc/nixd/blob/2ee1ef796dd6dd5f0bc8cc4a3bc804972018c973/lib/nixd/src/CallbackExpr.cpp#L4101:50:43

Show newer messages


Back to Room ListRoom Version: 6