Asking for help building a lisp docker image with nix/lisp

Does anyone have any experience working with docker and lisp using nix? I have this in my flake:

          packages.dockerWIP = pkgs.dockerTools.buildImage {
            name = "yap";
            tag = "latest";
            copyToRoot = pkgs.buildEnv {
              name = "image-root";
              paths = [ pkgs.sbcl pkgs.haproxy pkgs.clang ];
              pathsToLink = [ "/bin" ];

            runAsRoot = ''
                         # ...

            config = {
              Cmd = [];

I’m not totally sure how to use the quicklisp packaged in lisp, and when I tried to install with with curl the internet within the container didn’t work. Is there a way that I can set this up to use quicklisp within docker, or is there an external package that can work for this?

Thank you for your help