query
On this page

buildDhallGitHubPackage

pkgs.dhallPackages.buildDhallGitHubPackage

Functor
Docs pulled from | This Revision | 17 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.

args:
    let
      result = lib.makeOverridable f args;

      overrideWith = update: args // (if lib.isFunction update then update args else update);

      overridePackage = lib.mirrorFunctionArgs f (update: makePackageOverridable f (overrideWith update));

    in
    result // { inherit overridePackage; }