Thanks for your help Sam (and for trying to help me on IRC earlier, even
though I still apparently haven't understoood).

It looks like via that command, I really don't have anything installed:

$ raco pkg show -l --rx scribble
Installation-wide:
 Package[*=auto]       Checksum                                    Source
 scribble*             a5cb923ee68ca75f7c38fa292d0676fd864ce4d8    (catalog 
"scribble")
 scribble-doc*         75fc2487c34972216972c28170e27132ea73486d    (catalog 
"scribble-doc")
 scribble-html-lib*    312698505f94222be672038938cef024f20f8f1f    (catalog 
"scribble-html-lib")
 scribble-lib*         a103fc2974188b3d007fd4e38f424e3498993ffb    (catalog 
"scribble-lib")
 scribble-text-lib*    817c9ad5450aec2d7fcdbe217a134b535d32f4fb    (catalog 
"scribble-text-lib")
User-specific for installation "7.8":
 [none]

I'm guessing it's probably due to these error messages:

$ raco pkg update --scope user --clone scribble-lib
Inferred package name from given `--clone' path
  package: scribble-lib
  given path: scribble-lib
raco pkg update: package installed in a different scope
  package: scribble-lib
  current scope: user
  installed in scope: installation

I see that I can make it happen using the following steps:

cwebber@twig:~/devel/scribble/scribble-lib$ raco pkg install --force
Linking current directory as a package
...
cwebber@twig:~/devel/scribble/scribble-lib$ raco pkg show -l --rx scribble
warning: tool "scribble" registered twice: "scribble" and 
#<path:/gnu/store/8bpd156gsb4yjapx9gcmw4xn56vnl063-racket-7.8/share/racket/pkgs/scribble-lib/scribble>
Installation-wide:
 Package[*=auto]       Checksum                                    Source
 scribble*             a5cb923ee68ca75f7c38fa292d0676fd864ce4d8    (catalog 
"scribble")
 scribble-doc*         75fc2487c34972216972c28170e27132ea73486d    (catalog 
"scribble-doc")
 scribble-html-lib*    312698505f94222be672038938cef024f20f8f1f    (catalog 
"scribble-html-lib")
 scribble-lib*         a103fc2974188b3d007fd4e38f424e3498993ffb    (catalog 
"scribble-lib")
 scribble-text-lib*    817c9ad5450aec2d7fcdbe217a134b535d32f4fb    (catalog 
"scribble-text-lib")
User-specific for installation "7.8":
 Package         Checksum    Source
 scribble-lib    #f          (link "/home/cwebber/devel/scribble/scribble-lib")

I know you've warned me I don't want to do install --force though. :)

Though... now I've done it for all of the Scribble sub-packages, and
things seem to work now...

Might I ask why I shouldn't do the thing I've just done then?


Sam Tobin-Hochstadt writes:

> Can you post the output of `raco pkg show -l --rx scribble`?
>
> Sam
>
> On Wed, Nov 4, 2020 at 8:10 PM Christopher Lemmer Webber
> <[email protected]> wrote:
>>
>> I've done the following to my git repo of scribble:
>>
>>   raco pkg update --scope user --clone scribble-lib
>>   raco pkg update --scope user --clone scribble-doc
>>   raco pkg update --scope user --clone scribble
>>
>> I also tried removing that and doing:
>>
>>   raco pkg install --scope user --clone scribble-lib
>>   raco pkg install --scope user --clone scribble-doc
>>   raco pkg install --scope user --clone scribble
>>
>> Regardless, like it installed it in userspace.  Okay.
>>
>> But it seems like running "raco scribble" or importing scribble and
>> then checking where the install paths are from, it's still seeming to
>> use the system install verison of scribble.
>>
>> Not sure what I should do... shouldn't it be the case that user packages
>> take priority?
>>
>>  - Chris
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/87eel87goo.fsf%40dustycloud.org.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/87tuu34r9b.fsf%40dustycloud.org.

Reply via email to