mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
16 lines
375 B
Nix
16 lines
375 B
Nix
{ 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;
|
|
}
|