quag / user-nix-steam-deck

Installer that creates a declarative nix environment within a user account using home-manager, flakes, and nix-user-chroot. Designed for installing a nix environment on the Steam Deck.
MIT License
36 stars 1 forks source link

Can't compile software inside the NIX shell because pkg-config cannot find NIX libraries #4

Closed ThomasEricB closed 1 year ago

ThomasEricB commented 1 year ago

Basically, I'm trying to compile DosBox Staging with Meson however pkg-config is having trouble finding the dependencies. This is my current install list:

home.packages = (with pkgs; [ nix nettools bashInteractive python310 python310Packages.pip python310Packages.mpv python310Packages.yt-dlp yt-dlp cmake gcc_multi meson gitFull python310Packages.setuptools ghostscript vim rPackages.pkgconfig vimPlugins.fzfWrapper SDL2 SDL2_image SDL2_net opusfile fluidsynth libslirp speexdsp xorg.libXi ccache alsa-lib libpng mesa vulkan-tools vulkan-validation-layers vimPlugins.meson python310Packages.meson-python python310Packages.pkgconfig pkgs.opusfile.dev opusfile.dev pkg-config ninja libGL glib irr1 fluidsynth gtest irr1 libjack2 libmt32emu libogg libsndfile libGLU haskellPackages.opusfile

Any ideas?

ThomasEricB commented 1 year ago

image

ThomasEricB commented 1 year ago

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

Sorry