Add How use it
This commit is contained in:
parent
7425480fc9
commit
94ec630632
1 changed files with 22 additions and 0 deletions
22
README.md
22
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)
|
||||
|
|
Loading…
Reference in a new issue