Using MIQT with GoMod2Nix

I’m trying to use MIQT to mess around with QT. I’m having trouble though, as I get this error near the end of my logs

...
os
fmt
runtime/cgo
github.com/mappu/miqt/libmiqt
github.com/mappu/miqt/qt6
# github.com/mappu/miqt/qt6
# [pkg-config --cflags  -- Qt6Widgets]
Package Qt6Widgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt6Widgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt6Widgets' found

I’ve tried searching for Qt6Widgets in the package repository but I haven’t found anything that seems to be the answer. Cheers!

nvm figured it out.

  buildInputs = with pkgs; [
    qt6.qtbase
  ];

  nativeBuildInputs = with pkgs; [
    pkg-config
    qt6.wrapQtAppsHook
  ];