On Tuesday, February 27, 2018 at 6:13:43 PM UTC+8, Claes Wallin wrote: > If I try to `racket -l- some/file` or try to (require) it, it won't be > found, and racket will again complain "collection not found", even though > there is: > > 1. An entry for the collection in > /nix/store/...-mypackage/share/racket/links.rktd put there by racket install > 2. An entry for that particular share/racket in > ...-mypackage/etc/racket/config.rktd ('links-search-files key) and I'm > running racket -G ...-mypackage/etc/racket > > I've tried with and without -A ...-mypackage/share/racket, no difference. > > Is there something I'm missing, or have these options just never been made > use of before, and can't be guaranteed to work? >
Solved minutes later. As the name indicates, 'links-search-files are supposed to point at the files, not the directories in which they can be found. Somewhere along the way I convinced myself otherwise. Apologize for the rubber-ducking. -- /c -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.