filter for git-tracked files

This commit is contained in:
Valentin Gagarin 2025-04-16 16:43:27 +02:00
parent 14ec7e01f4
commit 7d295d4a2c

View file

@ -6,7 +6,12 @@
}:
pkgs.stdenv.mkDerivation {
name = "tf-repo";
src = ../.;
src =
with lib.fileset;
toSource {
root = ../.;
fileset = intersection (gitTracked ../.) ../.;
};
buildInputs = [
(import ./tf.nix { inherit lib pkgs; })
];