Telescope.nvim not working with home-manager

Telescope.nvim is not working for me when using home-manager. I have neovim installed in home-manager like this:

{
  programs.neovim = {
    enable = true;
    package = unstablePkgs.neovim-unwrapped;

    plugins = with unstablePkgs.vimPlugins; [
      # Telescope
      telescope-nvim
      telescope-fzf-native-nvim

      # ...
    ];

    # ...
  };
}

Running :Telescope in a neovim buffer gives this error:

Error executing Lua callback: ...ger/start/telescope.nvim/lua/telescope/builtin/__lsp.lua:1: module 'plenary.async.control' not found:
        no field package.preload['plenary.async.control']
        no file '/nix/store/vmln39q308xpq0awd1b5j84i8l58l857-luajit-2.1.0-2022-04-05-env/share/lua/5.1/plenary/async/control.lua'
        no file '/nix/store/vmln39q308xpq0awd1b5j84i8l58l857-luajit-2.1.0-2022-04-05-env/share/lua/5.1/plenary/async/control/init.lua'
        no file '/nix/store/vmln39q308xpq0awd1b5j84i8l58l857-luajit-2.1.0-2022-04-05-env/lib/lua/5.1/plenary/async/control.so'
        no file '/nix/store/vmln39q308xpq0awd1b5j84i8l58l857-luajit-2.1.0-2022-04-05-env/lib/lua/5.1/plenary.so'
stack traceback:
        [C]: in function 'require'
        ...ger/start/telescope.nvim/lua/telescope/builtin/__lsp.lua:1: in main chunk
        [C]: in function 'require'
        ...ager/start/telescope.nvim/lua/telescope/builtin/init.lua:409: in main chunk
        [C]: in function 'require'
        ...e-manager/start/telescope.nvim/lua/telescope/command.lua:46: in main chunk
        [C]: in function 'require'
        ...vimplugin-telescope.nvim-2022-09-04/plugin/telescope.lua:109: in function <...vimplugin-telescope.nvim-2022-09-04/plugin/telescope.lua:108>

check that the plenary version is correct, you may hit plenary.nvim is outdated · Issue #183304 · NixOS/nixpkgs · GitHub

also did it used to work ? what revision of nixpkgs etc.

Thank you for the replies. It did used to work, but that was before I was using flakes, and I am unsure of the revision. The nixpkgs revision I am using now is “a0b7e70db7a55088d3de0cc370a59f9fbcc906c3”. flake.lock.