mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 17:04:42 +00:00
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:
parent
9ae0f77577
commit
ba5a5fac7b
@ -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; [
|
||||
|
Loading…
Reference in New Issue
Block a user