# shell.nix { pkgs ? import {} }: pkgs.mkShell { buildInputs = [ pkgs.gcc pkgs.pkg-config pkgs.meson pkgs.ninja pkgs.gtkmm4 ]; # --- New Code Starts Here --- # This hook runs when you enter the shell. # It sets an environment variable telling GTK where to find its schemas. shellHook = '' export GSETTINGS_SCHEMA_PATH=${pkgs.gtk4}/share/glib-2.0/schemas ''; # --- New Code Ends Here --- }