{stdenv, lib, fetchurl, pkgs, clwrapper}:
let quicklisp-to-nix-packages = rec {
inherit stdenv lib fetchurl clwrapper pkgs quicklisp-to-nix-packages;
callPackage = pkgs.lib.callPackageWith quicklisp-to-nix-packages;
buildLispPackage = callPackage ./define-package.nix;
qlOverrides = callPackage ./quicklisp-to-nix-overrides.nix {};
<% @loop invocations %>
<% @var code %>
<% @endloop %>
};
in
quicklisp-to-nix-packages