flattenReferencesGraph: fix use of lib.fileset

mentioning non-existent file caused a ci failure: https://github.com/NixOS/nixpkgs/actions/runs/12091053669/job/33718955875?pr=122608
This commit is contained in:
Adrian Gierakowski 2024-11-29 22:18:21 +00:00
parent 9ae0f77577
commit ba5a5fac7b

View File

@ -1,7 +1,6 @@
{
callPackage,
lib,
nix-gitignore,
python3Packages,
}:
let
@ -15,7 +14,11 @@ pythonPackages.buildPythonApplication {
src = fileset.toSource {
root = ./src;
fileset = fileset.difference ./src (fileset.maybeMissing ./src/__pycache__);
fileset = fileset.unions [
./src/.flake8
./src/flatten_references_graph
./src/setup.py
];
};
propagatedBuildInputs = with pythonPackages; [