On Thursday, February 15, 2018 at 9:18:14 AM UTC+8, Claes Wallin wrote:
>
> On Thursday, February 15, 2018 at 3:16:24 AM UTC+8, Matthew Flatt wrote:
>>
>>  

> I think this is also the right idea, but I think you need to set 
>> 'pkg-search-dirs in parallel to 'links-search-files within 
>> "config.rktd". 
>>
>
> Thanks! I'll try that.

It worked! So now it even complains when I try to install base against a 
full racket, that base already exists. This is a good thing. :-)

But when I'm installing against minimal I get:

/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/bin/racket -G 
/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/etc/racket -U -X 
/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/collects -S 
/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/share/racket/collects
(current-library-collection-links): (#f 
/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/share/racket)
(find-library-collection-links): (#f 
/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/share/racket)
(find-links-file): 
/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/links.rktd
(current-library-collection-paths): 
(/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/collects 
/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/share/racket/collects)
(find-library-collection-paths): 
(/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/collects)
(find-pkgs-dir): 
/nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/pkgs
(get-pkgs-search-dirs): 
(/nix/store/rm4jgl2jhdmv0b2jlr2jmziih8clximf-racket-minimal-6.12/share/racket/pkgs)
collection-file-path: collection not found
  collection: "setup"
  in collection directories:
   /nix/store/gfwrnnq5ql1b35i03cs3xyzrflcrapfi-base/share/racket/collects

 
So (current-library-collection-paths) reports both base/.../collects and 
racket-minimal-6.12/.../collects. And my little dump script, which printed 
that value, successfully requires setup/dirs, so I wonder why raco (or 
something) can't.

-- 
   /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.

Reply via email to