Open DieracDelta opened 3 years ago
Suppose we could evaluate the input for attributes in something akin to a nix repl. Would be a cool way to add in dependencies. Might be a bit laggy though... I wonder if we can tie into the nix
compiler over ffi and use it as a library...
We could use https://github.com/aaronjanse/nix-eval-lsp to evaluate nix expressions instead of the official nix parser. We'd also need to generate nativeBuildInputs, propagatedBuildInputs, etc. This latter part shouldn't be too hard. We'll need to figure out how to create and modify a nix list, though.
It would be cool to specify or edit a devshell when generating or modifying a flake. We should also add in support for just generating a nix shell as well.
Other features could include editing build inputs to the devshell.