about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/interpreters/hy/default.nix
blob: f5d80c11d7115518baa6b06d97fe661231356217 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ lib
, callPackage
, hyDefinedPythonPackages ? python-packages: [] /* Packages like with python.withPackages */
}:
let
  withPackages = (
    python-packages: callPackage ./builder.nix {
      hyDefinedPythonPackages = python-packages;
    }
  );
in
(withPackages hyDefinedPythonPackages) // {
  # Export withPackages function for hy customization
  inherit withPackages;
}