Flutter - CMake error while trying to find ninja command

The following cmd: flutter run

throws the following error

Launching lib/main.dart on Linux in debug mode...
Building Linux application...
CMake Error at CMakeLists.txt:3 (project):
  Running

   '/nix/store/qvbaf1639wmhn95ddmk23n5xldjaj76n-ninja-1.11.1/bin/ninja' '--version'

  failed with:

   no such file or directory


Error: Unable to generate build files

here’s the shell I’m using for work:

let
  pkgs = import <nixpkgs> {};
in pkgs.mkShell {
  packages = [
    pkgs.unzip
    pkgs.zip
    #pkgs.cargo
    #pkgs.rustc
    pkgs.rustup
    pkgs.vscodium
    pkgs.helix
    #pkgs.zed-editor
    pkgs.vim
    pkgs.universal-ctags
    #pkgs.gnome-builder
    pkgs.gitg
    #pkgs.chromedriver
    #pkgs.gedit
    pkgs.remmina
    pkgs.libiconv
    pkgs.mandoc
    pkgs.gcc
    pkgs.pkg-config
    pkgs.gnumake
    pkgs.openssl
    pkgs.python3
    pkgs.python311Packages.python-lsp-server
    pkgs.tmux
    pkgs.flutter
    pkgs.dbeaver-bin
    pkgs.ninja
  ];
  shellHook = ''
    export PS1="[nix-shell] \u at \h in \w\n» "
  '';
}

any tips how to fix?