query
On this page

dhallDirectoryToNix

pkgs.dhallDirectoryToNix

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

{
  src,
  # The file to import, relative to the src root directory
  file ? "package.dhall",
}@args:

let
  generatedPkg = dhallPackages.generateDhallDirectoryPackage args;

  builtPkg = dhallPackages.callPackage generatedPkg { };

in
dhallPackageToNix builtPkg