- select appropriate shell.nix from folders in this repo
- copy and paste into the root folder of your project
- type
nix-shell
in your terminal (append--run zsh
if you're using not bash) - profit
- search your package in https://search.nixos.org/packages
- append
<package-name>
intobuildInputs = []
- goto https://www.nixhub.io/ and search for your package
- copy the hash of the nixpkgs reference
- copy and paste nodejs_16/shell.nix as a template into root folder of your project
- replace hash variable and append required package into
buildInputs = []
- if Nix is complaining about unfree, nodejs_16 template contain
config.permittedInsecurePackages
as an example