1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

* Refactoring: renamed *.nix.in to *.nix.

This commit is contained in:
Eelco Dolstra 2009-03-17 17:11:55 +00:00
parent 2d5114452d
commit 51e7e32c3b
22 changed files with 209 additions and 264 deletions

12
tests/filter-source.nix Normal file
View file

@ -0,0 +1,12 @@
with import ./config.nix;
mkDerivation {
name = "filter";
builder = builtins.toFile "builder" "ln -s $input $out";
input =
let filter = path: type:
type != "symlink"
&& baseNameOf path != "foo"
&& !((import ./lang/lib.nix).hasSuffix ".bak" (baseNameOf path));
in builtins.filterSource filter ./test-tmp/filterin;
}