This works fine for me (and is something that is pretty heavily relied on for more than a decade now):
[ro...@penghu] ~/Desktop$ export PLTCOLLECTS=/home/robby/something: [ro...@penghu] ~/Desktop$ racket Welcome to Racket v5.0.1.2. > (current-library-collection-paths) '(#<path:/home/robby/something> #<path:/Users/robby/Library/Racket/5.0.1.2/collects> #<path:/Users/robby/git/exp/plt/collects>) > ^D On Wed, Aug 4, 2010 at 9:48 AM, Laurent <laurent.ors...@gmail.com> wrote: > >> Or even better: is there a way to add a collection permanently >> (such as in the preferences), so that I don't have to declare them each >> time I run racket, gracket, mzc, etc. > > The docs say the PLTCOLLECTS environment variable must be set to a given > path, but the following doesn't work: > > <<< > ~/Projets/Scheme-svn/gui-tools$ > PLTCOLLECTS=:/home/orseau/Projets/Scheme-svn/ > ~/Projets/Scheme-svn/gui-tools$ echo $PLTCOLLECTS > :/home/orseau/Projets/Scheme-svn/ > ~/Projets/Scheme-svn/gui-tools$ gracket board.rkt > board.rkt:3:9: common/common: standard-module-name-resolver: > collection not found: "common" in any of: > (#<path:/home/orseau/.racket/5.0.1.2/collects> > #<path:/usr/plt-5.0.1.2/collects>) in: common/common > > === context === > standard-module-name-resolver >>>> > > Removing the ":" in PLTCOLLECTS does the same thing. > > The docs also say "additional collection directories can be specified in > configuration files", but it does not say how. > > Has anyone played with this? > > -- > Laurent > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users