1 2 3 4 5 6
{ pkgs ? import <nixpkgs> {} }: with pkgs; mkShell { # nativeBuildInputs is usually what you want -- tools you need to run nativeBuildInputs = [ nixops nixos-generators ]; }