query
On this page

wrapLisp

pkgs.wrapLisp

Functor
Docs pulled from | This Revision | 31 minutes ago


Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.

Noogle detected

This is a Functor

Learn about functors

Implementation

The following is the current implementation of this function.

{
      pkg,
      faslExt,
      program ? pkg.meta.mainProgram or pkg.pname,
      flags ? [ ],
      asdf ? pkgs.asdf_3_3,
      packageOverrides ? (self: super: { }),
    }:
    let
      spec = {
        inherit
          pkg
          faslExt
          program
          flags
          asdf
          ;
      };
      pkgs = (commonLispPackagesFor spec).overrideScope packageOverrides;
      withPackages = lispWithPackages pkgs;
      withOverrides =
        packageOverrides:
        wrapLisp {
          inherit
            pkg
            faslExt
            program
            flags
            asdf
            ;
          inherit packageOverrides;
        };
      buildASDFSystem = args: build-asdf-system (args // spec);
    in
    pkg
    // {
      inherit
        pkgs
        withPackages
        withOverrides
        buildASDFSystem
        ;
    }