tweag / nix_bazel_codelab

Nix+Bazel Codelab
Apache License 2.0
50 stars 4 forks source link

Move buildInputs into packages #24

Closed bryanhonof closed 2 years ago

bryanhonof commented 2 years ago

Moving Nix Shell's buildInputs into the package attribute causes the completion packages to also be added to the shell. This is nice since it means I can do bazel <TAB> and it actually autocompletes.

rapenne-s commented 2 years ago

I didn't know about this difference between buildInputs and packages, thanks