From ba5a5fac7bb68edfb1de329ca037ebe0d4094560 Mon Sep 17 00:00:00 2001 From: Adrian Gierakowski Date: Fri, 29 Nov 2024 22:18:21 +0000 Subject: [PATCH] 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 --- pkgs/by-name/fl/flattenReferencesGraph/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fl/flattenReferencesGraph/package.nix b/pkgs/by-name/fl/flattenReferencesGraph/package.nix index 49f8b1baacde..9adb9a320e0c 100644 --- a/pkgs/by-name/fl/flattenReferencesGraph/package.nix +++ b/pkgs/by-name/fl/flattenReferencesGraph/package.nix @@ -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; [