core/pkgs/by-name/py/python/with-packages.nix
2024-05-13 22:24:10 +01:00

6 lines
114 B
Nix

{ buildEnv, pythonPackages }:
f:
let packages = f pythonPackages;
in buildEnv.override { extraLibs = packages; }