Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-08 Thread 'Reuben Thomas' via Racket Users
Thanks, Matthew. I'm currently stuck building racket, on which I shall post a separate question, but I shall use this method once I've made that work! On Thu, 7 Nov 2019 at 13:37, Matthew Flatt wrote: > It's not technically ok to shadow a package in installation scope with > one in user scope, a

Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-08 Thread 'Reuben Thomas' via Racket Users
On Thu, 7 Nov 2019 at 13:37, Matthew Flatt wrote: > It's not technically ok to shadow a package in installation scope with > > Meanwhile, the current tools are better set up for starting with a > GitHub checkout and building there. In that setting, for example, it's > easier to use `raco pkg upda

Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-08 Thread Alex Harsanyi
On my machine, when I run the first command that you suggested, I get: $ raco pkg update --lookup --catalog https://pkgs.racket-lang.org/ slatex open-output-file: cannot open output file path: C:\Program Files\Racket\share\pkgs\_LOCKpkgs.rktd system error: Access is denied.; errid=5 Inferred

Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-07 Thread Sam Tobin-Hochstadt
You don't have to do that, there's just one extra step starting from a pre-built distribution. If you want to work on the "slatex" package for some reason, you'd do: $ raco pkg update --lookup --catalog https://pkgs.racket-lang.org/ slatex ... $ raco pkg update --clone slatex And then you have t

Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-07 Thread Alex Harsanyi
Hi Matthew, Thanks for clarifying this. The question was asked on this list several times in the past, and the suggested approach was always to use `raco pkg update --clone`. The non-obvious part, at least to me, was that one has to clone and build Racket before starting to work on any packa

Re: [racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-07 Thread Matthew Flatt
It's not technically ok to shadow a package in installation scope with one in user scope, at least not if any package in installation scope depends on the shadowed package. (That's why you have to use `--force` to shadow in `--user` scope.) With that configuration, when the package changes in user

[racket-users] Re: How to install an updated version of an installation-wide package?

2019-11-05 Thread Alex Harsanyi
I wrote some notes about how to do something similar, when I worked on the plot package: https://alex-hhh.github.io/2018/01/changing-built-in-racket-packages.html These instructions will work for the case where Racket is installed globally and your current user does not have permissions to