Hello,

I was setting up Racket on my linux box and i realized that there are a lot of 
options for path configuration and i forgot a lot of what i discovered last 
time i dug into this. I was trying to set up installation scope but maybe a 
little cleanly and figured someone might have some input.

I want a package at roughly installation scope, but i kinda wanted to know what 
was added by me and what was part of the default installation. Is this 
reasonable or should i just deal with it and dump stuff in $RACKET/share/pkgs? 
If it is reasonable then what is the best way to set this up?

Just FYI I did an in-place install of Racket in "/opt/Racket/Racket\ 8.1" 
symlinked to /opt/Racket...

I think maybe what i want is to set  to something like

(in /opt/Racket/etc/config.rktd)

#hash(... (pkgs-search-dirs . "/opt/Racket 8.1/share/pkgs-system" #f) 
(links-search-files . ("/opt/Racket/share/pkgs-system/links.rktd" #f)) ...)

Then i just did a `sudo /opt/Racket/bin/raco pkg install --scope-dir 
/opt/Racket/share/pkgs-system rash`

... and the new package seems to be working fine for my users.

Is that what i wanted or is there something better? Is there a way to configure 
config.rktd additions that will persist across upgrades or will i have to 
update my config.rktd for every racket release? Do other people do this kind of 
thing or just dump stuff in the installation scope? Maybe there are more 
options with a unix-style install, i haven't really tried one yet.

Thanks!

Nate

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/D8599B5B-D343-41A7-AADC-984F405DEF7E%40manicmind.earth.

Reply via email to