about summary refs log tree commit diff
path: root/tests/filter-source.nix.in
blob: 2b5c23d31765a5af96da095cfd10843ca83d70f3 (plain) (blame)
1
2
3
4
5
6
7
derivation {
  name = "filter";
  system = "@system@";
  builder = "@shell@";
  args = ["-e" "-x" (builtins.toFile "builder" "PATH=@testPath@; ln -s $input $out")];
  input = builtins.filterSource (path: baseNameOf (toString path) != "foo") ./test-tmp/filterin;
}