nixos-config/shells/nix.nix

27 lines
796 B
Nix
Raw Normal View History

# For usual Nix projects such as overlays, package repositories, and whatnot.
# Also, it's fun to have a file named `nix.nix`.
2023-02-06 13:27:55 +00:00
{ mkShell
, lib
2023-09-09 12:14:37 +00:00
, deadnix
2023-02-06 13:27:55 +00:00
, jq
2023-09-09 12:14:37 +00:00
, nil
2023-02-06 13:27:55 +00:00
, nix-tree
, nixfmt
2023-09-09 12:14:37 +00:00
, nixpkgs-hammering
2023-02-06 13:27:55 +00:00
, nurl
, rnix-hashes
}:
2022-04-17 03:00:08 +00:00
mkShell {
packages = [
2023-09-09 12:14:37 +00:00
deadnix # Search for the dead.
jq # It will use some JSON with its lockfile so better be ready to use this.
2023-09-09 12:14:37 +00:00
nil # Language server.
nix-tree # Suprisingly nice exploration tool for your packages in the store directory.
2023-09-09 12:14:37 +00:00
nixfmt # Ideally, it would be nicer if the codebase has their preferred formatter but we'll go with the most common formatter(?).
nixpkgs-hammering # Beat nixpkgs derivations up to shape.
2023-02-06 13:27:55 +00:00
nurl # Nice way to catch up with some things.
2023-09-09 12:14:37 +00:00
rnix-hashes # Quick utility for converting hashes.
2022-04-17 03:00:08 +00:00
];
}