Add shell env
This commit is contained in:
parent
94ec630632
commit
05846070a5
3 changed files with 19 additions and 0 deletions
|
@ -22,6 +22,12 @@ in
|
||||||
|
|
||||||
Then you can use with myflake-pkgs.maildev in your project
|
Then you can use with myflake-pkgs.maildev in your project
|
||||||
|
|
||||||
|
## How to update packages
|
||||||
|
|
||||||
|
Run `nix develop` or `nix-shell`
|
||||||
|
|
||||||
|
Then run `nvfetcher` inside current shell
|
||||||
|
|
||||||
## Packages available
|
## Packages available
|
||||||
|
|
||||||
- maildev : Node (Auto updated with nvfetcher)
|
- maildev : Node (Auto updated with nvfetcher)
|
||||||
|
|
|
@ -17,5 +17,9 @@
|
||||||
packages = import ./pkgs {
|
packages = import ./pkgs {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
devShells = {
|
||||||
|
default = import ./shell.nix { inherit pkgs; };
|
||||||
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
9
shell.nix
Normal file
9
shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
pkgs ? import <nixpkgs> {}
|
||||||
|
}:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
nvfetcher
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue