mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
67d231c046
This reverts commit619eeb658a
, reversing changes made to1af94bf471
.
14 lines
426 B
Nix
14 lines
426 B
Nix
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/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));
|
|
};
|
|
}
|