about summary refs log blame commit diff
path: root/tests/filter-source.nix.in
blob: 8493835c2b93dfef6f8224b7165a3bca1c88b9d4 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                                      


                                                                                      
 
derivation {
  name = "filter";
  system = "@system@";
  builder = "@shell@";
  args = ["-e" "-x" (builtins.toFile "builder" "PATH=@testPath@; ln -s $input $out")];
  input =
    let filter = path: type: type != "symlink" && baseNameOf (toString path) != "foo";
    in builtins.filterSource filter ./test-tmp/filterin;
}