Anjuta can't see glib

Hi, I’m abolutely new NixOS user so my problem may be trivial.
I’ve got new Gnome NixOS installation plus some software. I installed Anjuta and one by one rest of the packages it required. Except on. If I trie to build any project Anjuta spits out below error:

Error: You must have `glib’ installed.

I think I’ve got glib installed:

7v1b1phgj145pia06245rklx5rfwrjws-glib-2.68.4.drv
j77gd73psb8dchgwcyk3i2flncqbgimk-glib-2.68.4-bin
jqjdkgwf49q3vlbgh3qsjmz5569hnrj8-glib-2.68.4-dev

Has anybody any idea how to get it sorted out?

How do you try to build it?

And re the patches you have shown, just because something exists in the store, that doesn’t mean that your current environment can see it.

Same way as on other distros. First I tried to use template to see if Anjuta works for me. App required some packages to create project, I added one by one packages to:

/etc/nixos/configuration.nix

then run:

nixos-rebuild switch

and this way worked well for me except this one package.

What exactly did you add to configuration.nix? Libraries? That won’t work:

https://nixos.wiki/wiki/FAQ#I_installed_a_library_but_my_compiler_is_not_finding_it._Why.3F

Instead you have to properly package Anjuta.

Though someone else already did that:

https://search.nixos.org/packages?channel=21.05&show=gnome.anjuta&from=0&size=50&sort=relevance&type=packages&query=anjuta

So you can just add it to your environment.systemPackages.