Hi! Introducing nix-shell-locked which is a tool for starting temporary shells with specified packages available similar to
nix-shell -p or
nix shell except that you can point it at a
flake.lock file and it will read the revision of
nixpkgs and then install packages from that revision. Typically one would point it to the
flake.lock file from a home-manager or system wide config managed with flakes.
I manage my system with flakes and I found that trying out new packages in a
nix-shell -p <package> shell would sometimes lead to runtime errors when my profile’s channel was out of sync with the version of nixpkgs associated with the system config.