On 2020-04-14 15:53:09 -0700, unlimitedscolobb wrote:
> Turns out this file does not even exist on my machine, but
> /nix/store/za0k7s00bg3v5sasyqalv12ii7pxjbjn-racket-7.6/share/doc/index.html
> does! (mind the added share/)
>
> I'm running Racket 7.6 and I am on nixos-unstable channel.
>
> Does any one of you have similar symptoms?
I suspect this is because of a packaging bug in Racket that changes
where things get installed:
https://github.com/racket/racket/issues/3046
You should be able to work around this by adjusting the configure flags
for the Racket Nix package. Here's a commit for nixpkgs that should do
that:
https://github.com/takikawa/nixpkgs/commit/b766b42f0a2f79f19f9e73f46264f91ba6cb3bdd
When I built this locally, `(help map)` and such seemed to work for me.
If someone can land a fix for #3046 for Racket 7.7, that'd be really
great. This bug also affects the packaging for Debian, Ubuntu PPA (these
shipped with the workaround) and probably other distros too.
Cheers,
Asumu