Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 630 Bytes

README.md

File metadata and controls

38 lines (32 loc) · 630 Bytes

Usage

# flake.nix
{
  inputs.incl.url = "github:divnix/incl";
  inputs.incl.inputs.nixpkgs.follows = "nixpkgs";

  outputs = { incl, self }: {
    filteredSource = incl self [
      ./README.md
      ./folder # and all below
    ];
  };
}

Debug Filter

# flake.nix
{
  inputs.incl.url = "github:divnix/incl";
  inputs.incl.inputs.nixpkgs.follows = "nixpkgs";

  outputs = { incl, self }: {
    filteredSource = (incl // {debug = true;}) self [
      ./README.md
      ./folder # and all below
    ];
  };
}