nix develop

Run a bash shell that provides the build environment of a derivation. More information: https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-develop.html.

nix develop nixpkgs#pkg

nix develop

configurePhase; buildPhase