How to explore nix repl with nixpkgs and flake

Table of Contents

1 Explore nix repl with nixpkgs and flake

With following command, you can explore the nixpkgs package set in a repl when you're enable flake:

nix repl --expr 'import <nixpkgs>{}'

Date: 2025-10-26

Author: Chen Jin Fen

Emacs 27.1 (Org mode 9.3)