Closed Warbo closed 4 months ago
I'm not too familiar with Nix, but it seems like you might be collecting the repo into one .../share/pkgs/<repo>
folder and trying to link that folder directly. That's not going to work. Instead, you'll have to link each of the rackcheck*
folders in the repo individually, without the -D
flag. You also probably should be using raco pkg
instead of raco link
.
I.e. instead of
raco link -D <...>/share/pkgs/<repo>
you probably want
raco pkg install <...>/share/pkgs/<repo>/rackcheck{-lib,}/
I think this is a consequence of the re-organisation from https://github.com/Bogdanp/rackcheck/issues/8
It looks like the
examples/
files are using(require rackcheck)
, and that's causing Racket to look for a non-existentrackcheck/main.rkt
file as per the Racket docs:It could be that I'm just DoingItWrong™, since I'm not super familiar with Racket/Raco. I encountered this problem when using Nix to wrap a Racket interpreter with env vars that point to a pre-fetched, pre-compiled, immutable copy of rackcheck. The code I'm using (including
raco
commands, etc.) are here, although this same code has been working for other packages since 2016.Here's the error log I'm getting: