1 # A shell to get tooling for Nixpkgs development
3 # Note: We intentionally don't use Flakes here,
4 # because every time you change any file and do another `nix develop`,
5 # it would create another copy of the entire ~500MB tree in the store.
6 # See https://github.com/NixOS/nix/pull/6530 for the future
8 # Note: We use a pinned Nixpkgs so that the tools are readily available even
9 # when making changes that would otherwise require a new build of those tools.
10 # If you'd like to test out changes to the tools themselves, you can pass
12 # nix-shell --arg nixpkgs ./.
15 system ? builtins.currentSystem,
19 inherit (import ./ci { inherit nixpkgs system; }) pkgs;
22 packages = with pkgs; [
23 # The default formatter for Nix code
24 # See https://github.com/NixOS/nixfmt
26 # Helper to review Nixpkgs PRs