srcNoTarget

This commit is contained in:
Cadey Ratio 2020-02-29 03:01:01 +00:00
parent eef15af5f3
commit ec14f5608f
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ let
# nix tools
dhallToNix = import ./pkgs/dhallToNix.nix;
dockerImage = callPackage ./pkgs/dockerImage.nix { };
srcNoTarget = import ./pkgs/srcNoTarget.nix;
# other
MoonPlus = callPackage ./pkgs/moonplus { };

4
pkgs/srcNoTarget.nix Normal file
View File

@ -0,0 +1,4 @@
dir:
builtins.filterSource
(path: type: type != "directory" || builtins.baseNameOf path != "target")
dir