3 ms·
With this stack, do you ever run binaries outside of the containers? Do you need to use the nix command line very much? I agree that nix is somewhat painful to
by wocram 5y ago
With this stack, do you ever run binaries outside of the containers? Do you need to use the nix command line very much?
I agree that nix is somewhat painful to deal with, but Bazel essentially has no package management story at all. It would be nice to see one of the tools subsume the other, but that doesn't feel like something either project is actively addressing (ie. package management in bazel, or incremental/non-bash-driven builds in nix).
- jvolkman 5y agoSure, we can run commands using `bazel run` or build them using `bazel build` and then run the generated binaries from `bazel-bin` directly. In these cases we also use the same Nix-provided python version, but through a different path. The only time I use the nix CLI tools is when I'm fumbling around trying to make changes to one of our .nix files (we only have a few). Otherwise nix is hidden behind the scenes and I deal only with Bazel.