[racket-dev] `raco link', "links.rktd", "pkgs", and "config.rktd"

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jun 27 09:47:07 EDT 2013

At Wed, 26 Jun 2013 01:04:13 -0400, Eli Barzilay wrote:
> 8 hours ago, Matthew Flatt wrote:
> > The "config.rktd" file in "etc" can now specify a location for the
> > installation-wide "links.rktd" file and "pkgs" installed-package
> > directory (with its "pkgs.rktd").
> 
> On a clean build I get an empty "etc" directory -- explained by moving
> the files that were in it -- but is it now a bug, or is it a
> placeholder for an optional config file?  (Would there be anything
> else there?)

Yes, that's as intended. I think "config.rktd" is the only thing that
is put in "etc", now.

> > Furthermore, "config.rktd" can provide a list of additional
> > files/directories to search. This allows the main "links.rktd" and
> > "pkgs" to act like "/usr/lib" things, while additional directories
> > can act like "/lib" things.
> 
> Can you explain this more?  I don't see the connection.

Sorry, I meant to write "/usr/local/lib" (instead of "/usr/lib") and
"/usr/lib" (instead of "/lib"). It that more clear?


Posted on the dev mailing list.