init: lib/flake

A subflake that can be indidividually accessed without also providing
an interface to the whole of nixpkgs.

Usage:
inputs.nixpkgs-lib.url = "github:NixOS/nixpkgs?dir=lib"
This commit is contained in:
David Arnold 2021-04-20 12:58:50 -05:00
parent 460c08357f
commit 2cd41fb432
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08
1 changed files with 5 additions and 0 deletions

5
lib/flake.nix Normal file
View File

@ -0,0 +1,5 @@
{
description = "Library of low-level helper functions for nix expressions.";
outputs = { self }: { lib = import ./lib; };
}