diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 14e2ea6ee..082e04dca 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -641,7 +641,7 @@ struct CmdDevelop : Common, MixEnvironment nixpkgs = i->nixpkgsFlakeRef(); auto bashInstallable = make_ref( - this, + nullptr, //< Don't barf when the command is run with --arg/--argstr state, std::move(nixpkgs), "bashInteractive",