forked from fediversity/fediversity
filter for git-tracked files
This commit is contained in:
parent
14ec7e01f4
commit
7d295d4a2c
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@
|
||||||
}:
|
}:
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "tf-repo";
|
name = "tf-repo";
|
||||||
src = ../.;
|
src =
|
||||||
|
with lib.fileset;
|
||||||
|
toSource {
|
||||||
|
root = ../.;
|
||||||
|
fileset = intersection (gitTracked ../.) ../.;
|
||||||
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(import ./tf.nix { inherit lib pkgs; })
|
(import ./tf.nix { inherit lib pkgs; })
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue