Skip to content
/ incl Public

A nix filter with straight-forward include semantic

Notifications You must be signed in to change notification settings

divnix/incl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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
    ];
  };
}

About

A nix filter with straight-forward include semantic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages