dream2nix/modules/flake-parts/packages.fetchPipMetadata.nix
2023-07-19 15:53:03 +02:00

19 lines
320 B
Nix

# evaluate packages from `/**/modules/drvs` and export them via `flake.packages`
{
self,
inputs,
...
}: {
perSystem = {
system,
config,
lib,
pkgs,
...
}: {
packages.fetchPipMetadata = pkgs.callPackage ../../pkgs/fetchPipMetadata/package.nix {
python = pkgs.python3;
};
};
}