From 94ec630632e4afde1b30230da502a8c7db6cd96c Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 12 Apr 2024 18:17:51 +0200 Subject: [PATCH] Add How use it --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 790e5f6..16a1b96 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,27 @@ # My own flake with packages in dev before add it in nixpkgs +## How use it + +```nix + +inputs = { + [...] + myflake = { + url = "github:mrdev023/myflake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + [...] +} +outputs = { [...], myflake }: +[...] +let + myflake-pkgs = import myflake { inherit system; }; +in +[...] +``` + +Then you can use with myflake-pkgs.maildev in your project + ## Packages available - maildev : Node (Auto updated with nvfetcher)