Closed xneomac closed 3 years ago
With Nix, you can generally only build software from within nix-shell
. Libraries are not supposed to be installed using nix-env
. See https://nixos.wiki/wiki/FAQ/I_installed_a_library_but_my_compiler_is_not_finding_it._Why%3F for more information.
OK, duly noted. Thank you for your quick response.
I have a following issue concerning the issue #3 and the features brought by the feature of the
buildEnv
. I am building a ros environment with this function, installing it withnix-env -i
and trying to usecatkin_make
to build ros packages. Building packages works in nix-shell but fail with the installed version because of missing dependencies.With the installed version running
catkin_make --use-ninja
With nix-shell running
catkin_make --use-ninja