Ryan Swart

Results 10 comments of Ryan Swart

I managed to improve compile times immensely by specifying the entrypoint in `tsconfig.json`, eg. ``` ... }, "exclude": ["node_modules"], "files": ["app/app.tsx", ""] } ```

It seems that tern-lint has tern 0.20.0 support now? https://github.com/angelozerr/tern-lint/issues/73

If you add it as a dependency to any of the `Cargo.toml`workspace members, it should still install the hooks correctly in my experience

If you use pytorch from pip; it won't have the cuda wrapping. You can try the good old ```nix pkgs.mkShell { packages = [ myPython ]; shellHook = '' export...

I am relatively sure this change fixes it: https://github.com/demin-dmitriy/mach-nix/commit/4b9e5e087a154c9903c533848907ea077007d6ee

Personally, I have seen weirdness when doing `import mach-nix` in a flake; I generally just use the flake input directly eg. `mach-nix.lib.${system}.mkPython` etc. I also maintain a bunch of overrides...

Your pypi deps db looks suspect - I generally use ``` pypi-deps-db = { flake = false; url = "github:DavHau/pypi-deps-db"; }; ``` to get the latest deps; if you want...

`flake = false` just fetches the raw repository, instead of evaluating it as a flake (mach nix just needs the source tree of pypi-deps-db to do its resolution; it doesn't...

You should follow the example described here: https://github.com/DavHau/mach-nix/blob/master/examples.md#use-mach-nix-from-a-flake - generally you want to use flake inputs to "import" remote nix packages/code.

Yeah, I'm not sure what the best practice would be for spawning multiple v8 workers - was wondering if Deno or something would have examples but they abstract at a...