Yingchi Long

Results 76 comments of Yingchi Long

Ping again, I almost forget this...

Hi @roberth, @fzakaria, So as per my understanding, this issue actually does not relate to *flake*, but the module system, right? i.e. maybe we can just match AST to see...

The reason why there is no evaluation is > it is hard to make a reasonable evaluation target facing a large nix project. And manually configuring it for each project...

> https://github.com/NixOS/nix/tree/master/src/libflake Please submit a new issue :)

Why not just remove unused things? For example it is allowed & safe to do: `{ config, ... }:`

> does not improve readability *Readability* is difficult to quantify objectively. However, determining whether something is unused is straightforward: `name` is unused iff `name.users().length() == 0`. > If the arguments...

@bennofs May I close this issue?

Generally I don't like to add more heuristics. I'd expect a mathmatical deducing model to address all these stuff. Much similar problem also reported in #600, where we cannot deal...

The problem here is: `{a, unused }@arg: a`, the formal[^formal] `unused` *might be used* later by accessing `arg`, but the language server cannot precisely track it. In libnixf we treat...

Currently a known issue, nixd's auto-completion works via a set of idioms, leading `config` may just be a missing form of idioms.