mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 01:15:51 +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,
|
callPackage,
|
||||||
lib,
|
lib,
|
||||||
nix-gitignore,
|
|
||||||
python3Packages,
|
python3Packages,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@ -15,7 +14,11 @@ pythonPackages.buildPythonApplication {
|
|||||||
|
|
||||||
src = fileset.toSource {
|
src = fileset.toSource {
|
||||||
root = ./src;
|
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; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
|
Loading…
Reference in New Issue
Block a user