nixos-config/shells/nix.nix

25 lines
824 B
Nix

# For usual Nix projects such as overlays, package repositories, and whatnot.
# Also, it's fun to have a file named `nix.nix`.
{ mkShell
, lib
, jq
, nix-init
, nix-tree
, nixfmt
, nurl
, rnix-hashes
, rnix-lsp
}:
mkShell {
packages = [
jq # It will use some JSON with its lockfile so better be ready to use this.
nixfmt # Ideally, it would be nicer if the codebase has their preferred formatter but we'll go with the most common formatter(?).
rnix-hashes # Quick utility for converting hashes.
rnix-lsp # Make your editing experience nicer with a nice language server.
nix-tree # Suprisingly nice exploration tool for your packages in the store directory.
nurl # Nice way to catch up with some things.
nix-init # Scaffolding out-of-tree packages (NO SUBSTANDARD MATERIALS ALLOWED!!!).
];
}