core/pkgs/by-name/py/python/with-packages.nix
2024-06-30 09:12:46 +01:00

8 lines
116 B
Nix

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