tweag / nix_bazel_codelab

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

Running on NixOS requires manual intervention #9

Closed avdv closed 1 year ago

avdv commented 2 years ago

The rules_proto repository uses pre-build binaries for all platforms which fails on NixOS because the location of the dynamic linker is non-standard.

Currently, on NixOS the WORKSPACE file has to be edited to apply a patch to rules_proto. Which is a bit cumbersome.

I think we should solve that more generally with a platform flag or something. This is probably not the last issue to encounter with NixOS. So yes, preferrably let us deal with it in a different context.

_@fricklerhandwerk in https://github.com/tweag/nix_bazel_codelab/pull/6#discussion_r848326149_

aherrmann commented 1 year ago

Is this issue superseded by https://github.com/tweag/nix_bazel_codelab/issues/18?

Closing as duplicate. Feel free to reopen if I'm missing something.