mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
f29e7867a9
This reverts commitaeffdeffc8
, reversing changes made to723fdeb4f1
.
15 lines
385 B
Nix
15 lines
385 B
Nix
with import ./config.nix;
|
|
|
|
mkDerivation {
|
|
name = "filter";
|
|
builder = builtins.toFile "builder" "ln -s $input $out";
|
|
input =
|
|
builtins.path {
|
|
path = ((builtins.getEnv "TEST_ROOT") + "/filterin");
|
|
filter = path: type:
|
|
type != "symlink"
|
|
&& baseNameOf path != "foo"
|
|
&& !((import ./lang/lib.nix).hasSuffix ".bak" (baseNameOf path));
|
|
};
|
|
}
|