nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
638 stars 24 forks source link

add the `buildInputs` man pages to MANPATH #50

Open Profpatsch opened 3 years ago

Profpatsch commented 3 years ago

https://github.com/NixOS/nix/pull/4702 is being blocked by Eelco, but having manpages available in your project environments is a really good thing.

We should make an effort to add them into the lorri environment.

sternenseemann commented 3 years ago

There are more or less three approaches to this left which seem to be the preferred outcome for upstream nix (since they don't involve upstream nix changing anything, but they won't work for the nixUnstable CLI):

Profpatsch commented 3 years ago
  • Add some specific lorri specific workaround for this: meh

  • Make mkShell populate MANPATH: while this seems sensible, it'll likely not fix the problem for a lot of development environments which aren't based on mkShell

Eventuall I’d like a dev-shell DSL that we recommend people use, which lorri supports. But for now I think we need to work with what we have.