lopsided98 / nix-ros-overlay

ROS overlay for the Nix package manager
Apache License 2.0
205 stars 82 forks source link

Using catkin_make outside of nix-shell #70

Closed xneomac closed 3 years ago

xneomac commented 3 years ago

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 with nix-env -i and trying to use catkin_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

Base path: /kalifa/releases/newton_fake-latest/sources/src/ros_ws
Source space: /kalifa/releases/newton_fake-latest/sources/src/ros_ws/src
Build space: /kalifa/releases/newton_fake-latest/sources/src/ros_ws/build
Devel space: /kalifa/releases/newton_fake-latest/sources/src/ros_ws/devel
Install space: /kalifa/releases/newton_fake-latest/sources/src/ros_ws/install
####
#### Running command: "cmake /kalifa/releases/newton_fake-latest/sources/src/ros_ws/src -DCATKIN_DEVEL_PREFIX=/kalifa/releases/newton_fake-latest/sources/src/ros_ws/devel -DCMAKE_INSTALL_PREFIX=/kalifa/releases/newton_fake-latest/sources/src/ros_ws/install -G Ninja" in "/kalifa/releases/newton_fake-latest/sources/src/ros_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /kalifa/releases/newton_fake-latest/sources/src/ros_ws/devel
-- Using CMAKE_PREFIX_PATH: /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env
-- This workspace overlays: /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env
-- Using PYTHON_EXECUTABLE: /nix/store/famvf5klpwbqvh1fal88hvkgrhfi3nbj-python-2.7.18/bin/python
-- Using default Python package layout
-- Could NOT find PY_em (missing: PY_EM) 
CMake Error at /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env/share/catkin/cmake/empy.cmake:30 (message):
  Unable to find either executable 'empy' or Python module 'em'...  try
  installing the package 'python-empy'
Call Stack (most recent call first):
  /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env/share/catkin/cmake/all.cmake:164 (include)
  /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:58 (find_package)

-- Configuring incomplete, errors occurred!
See also "/kalifa/releases/newton_fake-latest/sources/src/ros_ws/build/CMakeFiles/CMakeOutput.log".
Invoking "cmake" failed

With nix-shell running catkin_make --use-ninja


Base path: /home/xneomac/Developer/sultan2/src/ros_ws
Source space: /home/xneomac/Developer/sultan2/src/ros_ws/src
Build space: /home/xneomac/Developer/sultan2/src/ros_ws/build
Devel space: /home/xneomac/Developer/sultan2/src/ros_ws/devel
Install space: /home/xneomac/Developer/sultan2/src/ros_ws/install
####
#### Running command: "ninja build.ninja" in "/home/xneomac/Developer/sultan2/src/ros_ws/build"
####
[0/1] Re-running CMake...
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using CATKIN_DEVEL_PREFIX: /home/xneomac/Developer/sultan2/src/ros_ws/devel
-- Using CMAKE_PREFIX_PATH: /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env;/nix/store/cigh5dfwc0cslx7myygdqy5hjn8kaz1j-ignition-cmake-0.6.1;/nix/store/y03kn18w1jl52w7hf081ih89brk00qky-pkg-config-wrapper-0.29.2;/nix/store/icm74ybhq3zv5w01gzrgadlgwfwy5pap-lndir-1.0.3;/nix/store/p7xxgw0xak0pwah1qma6p6jnrc546s08-patchelf-0.12;/nix/store/lfl1davviy5mai3g80mpy2gkb97rh9j5-gcc-wrapper-9.3.0;/nix/store/14w5kfy0lpz9c5f7vfj8jbnbnmf0g78v-binutils-wrapper-2.31.1;/nix/store/c36777c29wkp4jxjv8pk3frvkdd3w89q-python2.7-autopep8-1.5.4;/nix/store/649h20dykdn6zccxn52wjyg6vr2w1nqs-python2.7-pycodestyle-2.6.0;/nix/store/famvf5klpwbqvh1fal88hvkgrhfi3nbj-python-2.7.18;/nix/store/73m791xz9kcqiyvhq7zpgmlja5hvdnpg-python2.7-toml-0.10.1;/nix/store/dm143vrm1riqng1yfhknr6dfll4jggq1-python2.7-pylint-1.9.5;/nix/store/zpk0w7l4gxaz4qs4l6j4qp8gjx36pbm6-python2.7-astroid-1.6.6;/nix/store/rz12vmh5k4r5ax5vxa7m9hsgvcw02l2n-python2.7-lazy-object-proxy-1.5.1;/nix/store/db5nranmxgvml761wk0kmw0kvdky4mph-python2.7-six-1.15.0;/nix/store/wl1rvgbqx776y4nxzh0nby7l6109zpwb-python2.7-wrapt-1.12.1;/nix/store/33jc6jxdz43rr1dq7p7h0cw1862fdb25-python2.7-enum34-1.1.10;/nix/store/dw5z1m3h4qk67q6w52l5y78cp0vlaa4d-python2.7-singledispatch-3.4.0.3;/nix/store/wxd5d74d8kbizym1b30wcczxg57958kk-python2.7-backports.functools_lru_cache-1.6.1;/nix/store/4z0hckgqmnx1nayyknhlsixrcaa4ii40-python2.7-isort-4.3.21;/nix/store/qr84kwsq698pf8ax02d487w5f3lmwzyn-python2.7-setuptools-44.0.0;/nix/store/cd6cpgdhj90lf4n7nh7fkcbx916nsk17-python2.7-futures-3.3.0;/nix/store/daik8rxcl3jpg64l0nm5klz55z7x4brb-python2.7-mccabe-0.6.1;/nix/store/yr9yz9kl0clp4m4nq0hx5j2pamd6dzwb-python2.7-configparser-4.0.2;/nix/store/2zxv9vvrxf6xidh8xgpgrchzqp6304wd-avahi-0.7;/nix/store/f84rn0bs6qq462v8ijr60y0cvsg99wgh-clang-wrapper-7.1.0;/nix/store/4fiibyqiq5y0dc1ma3far935r2sn58ak-cmake-3.18.2;/nix/store/2byra6ps0n6bpzxwqvry3k94r877rlh2-curl-7.73.0-dev;/nix/store/wc6z0ljl6jcl0h65p4c9xm19nvz4052q-nghttp2-1.41.0-dev;/nix/store/zf0f4qwl6cfw5ah3fbdmn7av1sswyf6i-nghttp2-1.41.0-bin;/nix/store/858hdp1irdixscwa8jzhs11gsj3j5a86-nghttp2-1.41.0-lib;/nix/store/k3wmwf51m3zxz8lz6pbyyya5w0bai34q-zlib-1.2.11-dev;/nix/store/ghrisqgvmz8blq4i9g0cqas1s3p0glx7-zlib-1.2.11;/nix/store/6b54aw7g7mfk52hsrlckhhi40s1vmz0b-libkrb5-1.18-dev;/nix/store/47lx978m7l4k8jraw9pl4dxskv9zc0n4-libkrb5-1.18;/nix/store/0qx3q365dnrna6pb5pvy9akcln27c5nk-openssl-1.1.1h-dev;/nix/store/6cin1mkj6q4wb9dwyvxn071gd2yzp91f-openssl-1.1.1h-bin;/nix/store/lgcr2hnww96958vnw8dymqy17x0klmwf-openssl-1.1.1h;/nix/store/w2flan0mfpjhzry58s3kdbwzx919frcw-libssh2-1.9.0-dev;/nix/store/29ivhjidchfcv03b0885qab96hv1h30s-libssh2-1.9.0;/nix/store/zgf5rl7p0g47259yh56p9008gg9msclh-curl-7.73.0-bin;/nix/store/mrkch665vqn6hs5xzhfja6nrb56wz5mi-curl-7.73.0;/nix/store/0ma9b86c5k12w53n5ps49z4rp0gip2gx-dbus-1.12.20-dev;/nix/store/c4hv8wchh7925h2vdbz1ag0bzbpwkxfw-expat-2.2.10-dev;/nix/store/cfi73kpb94c8sjv769d2cffbrsvmx4rc-expat-2.2.10;/nix/store/ab8x9lnqmbq7csk50z1livp15ibpvsq2-dbus-1.12.20-lib;/nix/store/mwb895frsfjbn0m035gg19zfvv2pvx1s-dbus-1.12.20;/nix/store/nwk8rivbjixsi9f9aghdx3940ga5px0w-glibc-locales-2.32;/nix/store/0pk3sjg92jyvh4n19sqg7wcpw252ni5v-gnused-4.8;/nix/store/xxzdxdy0vp08vcikmik9b194dhgp234a-hostname-1003.1-2008;/nix/store/cnznybpymsgkwxdlrpzfq9ghrq07s0qx-iproute2-5.9.0-dev;/nix/store/7fgxmjkb0nksf8bqwrn45mvivpzfwh58-iproute2-5.9.0;/nix/store/jf3nxgwiwv925ibp5ard9svyphnrqzrh-nginx-1.18.0;/nix/store/4qbjz29bqllw17scjkkls2k5rplz2217-opencv-3.4.8;/nix/store/g82la6r1spr1cnhq3pv22b1v0f6bn86f-openssh-8.4p1;/nix/store/qmr5rhxy942kdm70j8rs751y839zg6hb-protobuf-3.13.0;/nix/store/53gr2zfh5xvgv7n7arhbp3njbmm8is6s-python-2.7.18-env;/nix/store/7kv6l106ckpv70h6gw7y7mmsjn21kl13-python2.7-supervisor-3.3.5;/nix/store/1gifpryibycyx184blar1jkfg0d6mrmk-python2.7-meld3-2.0.1;/nix/store/izh7812h0m8m30p4lxpijs5g3xh3kam2-doctor;/nix/store/v89a8qfy20kx3hk6894yws20zz4m4lwd-boost-1.69.0-dev;/nix/store/3iccb2zby79yyf0xs6i0i0dsf0xf2yw0-boost-1.69.0;/nix/store/rf0w7ich2n7m00fzk1f4lhwj0vx908nm-cachix-0.5.1;/nix/store/zfk3j7g6gq3fgzrh9ag9jgxaa1np7ncy-cargo-watch-7.2.1;/nix/store/vpj11q9d229ljddka7hvv3jpm31jinhj-docker-19.03.13;/nix/store/56ga87ych3hdqcpimgxs3wjfij7f4knp-git-2.29.2;/nix/store/lkvcgsb80dcv3hz17gfaixspqhzfnqim-git-lfs-2.12.1;/nix/store/h4bf4y1lpjavqj55fhl9kkn32g5ns0wj-iputils-20200821;/nix/store/44mpvg182rw7slvlg2f50wp740xzvmpl-just-0.4.4;/nix/store/ik5ya16lfsmayk2rcnby9xz3dgijln0m-killall-1003.1-2008;/nix/store/85v5wvrfl95bchrqwwrdyns3pazhglgj-ninja-1.10.1;/nix/store/8kdyn3rkqdl1pl294b6wp1kmb1kvff3v-nix-2.3.8-dev;/nix/store/cnxvbx9w31g2yv7kbx8rlnsf3li24w4g-boehm-gc-8.0.4-dev;/nix/store/0phlidpg14j1696i6kl7scf0cn1n02cg-boehm-gc-8.0.4;/nix/store/rq4xg5nyfmmavnkcjrdqf9rrh07g53v7-nix-2.3.8;/nix/store/93v8wwl5ix6nq8lyq704rgasnp5fsdqw-nixops-1.7;/nix/store/wf5q4d62skrw7fi3askhp0bdwb99sz5j-nodejs-12.19.0;/nix/store/qdj3i18s7jl98a8b10wz5k98sb7qr7wn-openapi-generator;/nix/store/ygzg3rb738vwrny6dgnbmx9ra7knan66-rsync-3.2.3;/nix/store/yw756amsqnq91pr65yc8qh4imz43k6h8-rust-1.48.0-2020-11-16-7eac88abb;/nix/store/s6by8bi3iwm7zm3n0asjp9yalrxs9fc4-sccache-0.2.13;/nix/store/462imcgmf8aqrll76mlhjwmxm6ayz9yk-toxiproxy-2.1.4;/nix/store/3difzwxgvsidpqzapjkh8giyppk66w08-wget-1.20.3;/nix/store/9vi62ib3qzj4cxb4h9sj4ydcmddgckba-which-2.21;/nix/store/qww3wcvgh3dy04kadfszkb10gxi34mk6-wireguard-tools-1.0.20200827;/nix/store/x6mfg2m1fifs8zjy1v0r53j1bjgvjss0-yarn-1.22.5;/nix/store/ijblp09zqwla6ypqk2a0clz3bd1rmaa7-zsh-5.8;/nix/store/k00i1ylvygc749225r6ysz6b9a6n0948-pcl-1.11.1;/nix/store/wh8v8r395rq0d298nnjrahn6kfacsqvr-systemd-246.6-dev;/nix/store/8zd3z4az6y3caga8aw3ip2cp2iv82vjq-systemd-246.6;/nix/store/rwjcgpjysxf8ncpzmh08bfq2cd1sn1b9-librealsense2-udev-rules-2.41.0;/nix/store/6m5kardbypjdapsfazlb9ngz5njjgza6-source;/nix/store/akfrv61yj9ij6rmvmbvmf8pa5d37c0q4-can-utils-20170830;/nix/store/f8jaa95aymn71anf1xv32nap8fj1k7qh-cannelloni;/nix/store/6ch35ky4kzphiiilxwaq5nxw1i9if0va-mongodb-4.0.12;/nix/store/hldfi1h0ckh8mlpc0kb2xl4amfbk0p8c-lsb_release;/nix/store/2akwh1qll7vm6g8z6s4cfsfczlwrvl97-openjdk-8u272-b10;/nix/store/z1g55g1cfd5jj31qlrnfviki68rmcjkk-hook;/nix/store/pdv6wva1kwlcfc5qvxca2s4349lxfi9v-watchman-4.9.0;/nix/store/zlnw9r092lcfqivj12g7ckaglpm25x08-procps-3.3.16;/nix/store/zxhcfg8khcq3wz8xjlnh9pimxgp6djmj-emulator;/nix/store/w2cxqrgqwsiqfmirsvby2n5jnbhln7rj-kalifa;/nix/store/vja6lxzwzgbqf1jcp8ka4ls0vkf3hk7g-sultan_server;/nix/store/sghgakrlrcis3vy9gphcqysx1hs8m6b5-karbon_driver;/nix/store/2iwkgkxqfibdjawc1hxbv57970x0r5pw-vizyr_server;/nix/store/1ap0xvi77avf4n0ysjd5sh28hmzl2vfr-build_ros;/nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env;/nix/store/j58ybikq41fy8465d6gzqg161zgm072x-boost-1.69.0-dev;/nix/store/sldwyibifhka79mkx2vf9ym67yyh8pkn-boost-1.69.0;/nix/store/hv7kg4880razniafck63ykwcjak4xyj4-libpointmatcher-1.3.1;/nix/store/f59vr6bazsk5ndwmgw4d7x25bsvgm005-eigen-3.3.7;/nix/store/0cxg65wfnyxbiyhvrw320fqnqy77x11h-libyaml-cpp-0.6.3;/nix/store/hgz301595mi2vbh1k15cwjbaisf1l237-python2.7-backports.ssl_match_hostname-3.7.0.1;/nix/store/ky0qgk3fkq7f05wfm76vk93p7z06yjf5-python2.7-tornado-5.1.1;/nix/store/9na4m2y6p7768s76487qarxyqskgfgqc-python2.7-backports_abc-0.5;/nix/store/p2z10xf5dzsksn39j70811kfaisry736-python2.7-certifi-2020.6.20;/nix/store/9cp8kmaklns9fhjwfxnhlb6ahnb33j0a-python2.7-Twisted-20.3.0;/nix/store/z1i5wn5rf31j042xxm4mz7p91134d6al-python2.7-zope.interface-5.1.0;/nix/store/y5qr3xbjqmnvlh4dk6fc6rlrkwi4b98g-python2.7-zope.event-4.4;/nix/store/pda4nya5wscz1yzqnkp8pv677c84nxfp-python2.7-incremental-17.5.0;/nix/store/8vxqs549p4k4c7p5srcxa6b8isjjkb61-python2.7-Automat-20.2.0;/nix/store/0cwrw3j7l491vvk5mjcpj8wbsc7y2029-python2.7-attrs-19.3.0;/nix/store/lkg5nhscigwq4lwbj349vj1wp67v0f6h-python2.7-constantly-15.1.0;/nix/store/klwd5mfd9ipdna72ip4ihzsbjpvrnmm7-python2.7-hyperlink-20.0.1;/nix/store/75i5wsc3frn5v6kd4gwvfa26mi96rfkh-python2.7-idna-2.10;/nix/store/r2mz8c6d6hb2nm5ygjhaml0n5lhpfmlz-python2.7-typing-3.7.4.3;/nix/store/wlpliw10hdmc2g77n2k7ywjhpbip5n1g-python2.7-PyHamcrest-1.10.1;/nix/store/av83chp896aaf2y5gk8n55wvpm1550pl-libusb-1.0.23-dev;/nix/store/bg4lqksv9c0ff7dwfvr81sdcymffc7g7-systemd-minimal-246.6-dev;/nix/store/hahaja959an4920gcpjyr8x4byl82p7q-systemd-minimal-246.6;/nix/store/inmq5vpfc14swjw3ihnnf8c5r2wyhvly-libusb-1.0.23;/nix/store/95kylyfsgrm45bb6k8k79gqiis0iz6yg-ffmpeg-4.3.1-dev;/nix/store/7yvffjp3x8i5v27045mg32p3av4rn1j1-ffmpeg-4.3.1-bin;/nix/store/qg7r4zynz1n0lgrn3q3g5nyf5dxjgb0r-ffmpeg-4.3.1;/nix/store/hn2z97n1581hb2davv78k13m5x4av9gp-v4l-utils-1.20.0-dev;/nix/store/xzir11ji82y5l77jshdc34p97lm48qm0-libjpeg-turbo-2.0.5-dev;/nix/store/dd5gqqkz64n7z76q6hw2wms85i0s9v1s-libjpeg-turbo-2.0.5-bin;/nix/store/rw19jz88i1hcqvrv77d0j7s8dzp5mbzg-libjpeg-turbo-2.0.5;/nix/store/6vrdnm4sw211mrfq08c693dyr9l8aprz-qtbase-5.15.0-bin;/nix/store/9pmgkp0daj9s7063anivmnwwxnk5gh6x-qtsvg-5.15.0-bin;/nix/store/wy0p619xfykbc7d7vwmqc1q7zgnk0xl6-qtdeclarative-5.15.0-bin;/nix/store/3ny4q323q2xslc8p3vf0pfz01mvzryz0-qtquickcontrols-5.15.0;/nix/store/cr13hf6d01lx2dma8rgd06in3h9zglgl-qtwayland-5.15.0-bin;/nix/store/nb5409jl3alc26wawlh0byqg6wy3zrha-v4l-utils-1.20.0-lib;/nix/store/aw6yliy0hnzcaxmjifx7ay9pvqbg8pnj-v4l-utils-1.20.0;/nix/store/x0qw1h5chxxc244fnlbrwd7a2j9c95ib-tinyxml-2.6.2;/nix/store/kawczk48hw3idwhzfgsr3fbmpiz5lbdj-gazebo-9.16.0;/nix/store/aasd85gwv0m4z7hc6f4xxkr4nig2kv48-freeimage-3.18.0;/nix/store/1l4ywhkr9pvic6z175d3ml76gag2042q-sdformat-6.2.0;/nix/store/ffvp396c5gd91pz8ygzljq97b015wf78-ignition-math4-4.0.0;/nix/store/9ay7q03dq3chd62hjs28sr1966pax2p1-tbb-2019_U9;/nix/store/4jd3p15pyw6asax0v5rf7yfn1z6qs98b-ogre-1.10.11;/nix/store/2gda413k1m5r2ckmf1g57yvbgbqcg4xw-ignition-transport4-4.0.0;/nix/store/7gm6z7yg0zfs5bj4dqdq7dbw33spw7d6-cppzmq-4.6.0;/nix/store/2sw83amw84i29fxjjs64aq3gm752gz5b-zeromq-4.3.3;/nix/store/kbpj4aj902lkwcna5n2cbrdhmp8p7wf1-util-linux-2.36-dev;/nix/store/6bx3gx9b119b1759q4mgra5zrs9m982b-util-linux-2.36-bin;/nix/store/x7wcq0mdl300n1d66xl4zbindx9nahlc-util-linux-2.36;/nix/store/6wd7lng25mpzd79q50gc3n0jsqi4pkgc-ignition-msgs-1.0.0;/nix/store/k319rasqdnp6w3ad4a3gm2885fb278v2-ignition-fuel-tools1-1.2.0;/nix/store/fjzsvl2jhk56zk0df5scwjgw9nw553mv-ignition-common-1.1.1;/nix/store/9svjlam9m7zlhqvfqrfk05nm7giig4wd-gts-0.7.6-dev;/nix/store/sp3qds529nkmg1w8biq5m5q3wd992czw-glib-2.66.2-dev;/nix/store/3b9j0i3l86kq4z6yijy2i029nidx0m64-libffi-3.3-dev;/nix/store/w676wig0vsgvgplxdbf4f7n0wygz5hbg-libffi-3.3;/nix/store/929krjhxrkjifzlq0j76inray1bgkwwy-gettext-0.21;/nix/store/dsdvg2v82mp94ad5aml4khladwv4wg2s-glibc-iconv-2.32;/nix/store/c6chxjkaqfm6b624zm1kxh1qd9yz15xx-glib-2.66.2-bin;/nix/store/lk21dn0apza38f4zcvzw5nksy00r16rr-glib-2.66.2;/nix/store/v9j8jz38sqbjzbk4k5q53s2j7j3h4ph3-gts-0.7.6-bin;/nix/store/vm38cs41lq0c1dv918lyr001f9pyd5xz-gts-0.7.6;/nix/store/82vagn3r1zmdqidzv23qmdjndn5lrbvp-tinyxml-2-6.0.0;/nix/store/0nai6p3gg22hy8lrxxq5xaq17w25jgz8-jsoncpp-1.9.4-dev;/nix/store/vfq2ynmz9111542f5j5rqfkyyxcvxdz0-jsoncpp-1.9.4;/nix/store/frzq2xgd7as665prg65mb3r0ihi0ps0l-libyaml-0.2.5;/nix/store/1k40yh53mp87p5bb0csxhjr7g0wipc27-libzip-1.6.1-dev;/nix/store/ij2n4dyvdasy39rwzbx6szlwwd2vdgap-libzip-1.6.1;/nix/store/mz10a0v32ryf23clsnnrvf1bl0cpq012-assimp-5.0.1;/nix/store/7x2yfh7y19fnaw8id488dwg21im3iqy2-libGL-1.3.2-dev;/nix/store/mbnlc0hh1kb8aqfjv5andg0xi8avys1q-libGL-1.3.2;/nix/store/4szmklairdmp3qxas7f3sn29fk8216wj-libglvnd-1.3.2;/nix/store/6nydzz9jk0yjym01rfs4hngyml4ahzzw-libglvnd-1.3.2-dev;/nix/store/1drah3gkdhirs69m7v9d85b52j4wxcdq-glu-9.0.1-dev;/nix/store/2h4ax1304inn824ylgqwkv6yiph71nbs-glu-9.0.1;/nix/store/0iys2zq5vkpq1k0vz8gsshifcsx7zd1c-ogre-1.9.1;/nix/store/0c77xskyqvknwi482xwm72g7l4rk1whw-qtbase-5.15.0-dev;/nix/store/2x6lbscvrcn40wim352dd3qdk4xcvgy8-libxml2-2.9.10-dev;/nix/store/j1fla8ikka41l1967gi8a5pxswl8fbjf-hook;/nix/store/q3vyq1bx90xkay8wsg3134vr37y3gp74-libxml2-2.9.10-bin;/nix/store/dczf2l5x34ahm0yl7avcrad49w2kq69j-libxml2-2.9.10;/nix/store/19j2h3hbrviwhh1bm7pw6dbyn03q6fmv-libxslt-1.1.34-dev;/nix/store/ls95v3bml0w434pvb8njhi7z84g6c9fj-libxslt-1.1.34-bin;/nix/store/gfr89nxv2q1mnixq248vps20r2zyqscr-libxslt-1.1.34;/nix/store/wrrfa093x2vmrif3sbz62idn66wg2lbl-sqlite-3.33.0-dev;/nix/store/xwcqq96yxqnx3lc9cs6dprmizxi0i7vd-sqlite-3.33.0-bin;/nix/store/rj88r0ck0lgfqjafz895yhwas13c58mj-sqlite-3.33.0;/nix/store/hxzwymyqjw8azsxlk7kwx2njk7xhg2p1-harfbuzz-2.7.2-dev;/nix/store/af7src4yhmd1dw9j69q73g5ahzn4ypsf-graphite2-1.3.14;/nix/store/jlw1wg9d8ndkwgpcppp760hl2v1p7sg0-harfbuzz-2.7.2;/nix/store/krcw8byyzyykyjw1vj5v4mh56x8k69x2-icu4c-67.1-dev;/nix/store/mnvgmqqxf0b8gv4yb81rrkq2qm9qr0z9-icu4c-67.1;/nix/store/q7ph9174x0yskv76b63ir7gfny3d16wm-libpng-apng-1.6.37-dev;/nix/store/mz4lrsj37b8xh21v5fa87z174hdr8364-libpng-apng-1.6.37;/nix/store/2zs5ra7kag644kf49q8lq914681841f8-pcre2-10.35-dev;/nix/store/i3jkasf4jsrcpa5w0238bc9rbcmifsyx-pcre2-10.35-bin;/nix/store/302nj6jw1lq1hmjsrrk56qp2gpl1h4xa-pcre2-10.35;/nix/store/6v7d1zjq8nqfp2xff7v30vw6fmcww6jm-fontconfig-2.13.92-dev;/nix/store/hqglgaayz1jkgzpxf2s4v2gndyfmh93k-freetype-2.10.4-dev;/nix/store/25qhbb5fi8gcymhc9hlg011a9g3dps42-bzip2-1.0.6.0.1-dev;/nix/store/966d6qhlsy64idfq1sfx5j0lyalyxc38-bzip2-1.0.6.0.1-bin;/nix/store/pysh68v7zz50zwq97a7n98qwr927c0aq-bzip2-1.0.6.0.1;/nix/store/8cr6fdx94d8w1qwfdjwz9sfrhrgcri88-freetype-2.10.4;/nix/store/a396wgyz4czg9dpxh247hj0759a6h1i5-fontconfig-2.13.92-bin;/nix/store/a9b6mzf4hd9rnfk7q97lbacascicflj2-fontconfig-2.13.92-lib;/nix/store/ifg43hck0x4i7wd0i4xf2zj1wvzh6ssc-libX11-1.6.12-dev;/nix/store/nmwjb5bk1rhps59672vg3v81m6991hn7-xorgproto-2020.1;/nix/store/4c8h49bgz2vwjj41na2xnvyib1p5azw7-libxcb-1.14-dev;/nix/store/ywbaxs9k6sj71hk2qvxaipjdgd1wy5z5-libxcb-1.14;/nix/store/js0zdsdm707mjxgb2hhk6xbbhxpsspag-libX11-1.6.12;/nix/store/hrg3sww5q5qgyns61k6hswyip3z74m4m-libXcomposite-0.4.5-dev;/nix/store/qx6xf8l6wsqqh1h9hbhw7cg9j3xip0sh-libXfixes-5.0.3-dev;/nix/store/as3dmzwsf0y2ns7r3b7gv3jdncisvvvr-libXfixes-5.0.3;/nix/store/ybq7k01h8vm07gw8n5zxa7j0ywx5q5zz-libXcomposite-0.4.5;/nix/store/jjq573qpyxvpszsaydllprbyibvpknm3-libXext-1.3.4-dev;/nix/store/8x5djd7qsskr04ync2j6z2k6r2pra05d-libXau-1.0.9-dev;/nix/store/ycs942igsh9ikh48iks76znmas4a54i3-libXau-1.0.9;/nix/store/bzqp99x4mz1q9k9iivbl2ljmcmvz3bah-libXext-1.3.4;/nix/store/kgyg4cz6vl3pcpv9j7x07rwdgwjqmxs1-libXi-1.7.10-dev;/nix/store/id7a1i7kkv7r6cvh1mrp56yq7p95aswy-libXi-1.7.10;/nix/store/3sv7cbpa93apwv8gjdpqw6gx5l5j64q1-libXrender-0.9.10-dev;/nix/store/y1jxg79r23hxp9b6dsbadcsjvr3iwbd3-libXrender-0.9.10;/nix/store/jsq228s3za1s40a8fzafbxkzvdxibi82-libxkbcommon-0.10.0-dev;/nix/store/7lrrq082hw6883xiifqp4li62bz3wiih-libxkbcommon-0.10.0;/nix/store/yzanfm4hfg9wbap5wv32f9ssm55dnbry-xcb-util-0.4.0-dev;/nix/store/n6byly73j3lyl2d48apyj2dxxdb3ihp3-xcb-util-0.4.0;/nix/store/09d3s18svgffli6xzlikya8hzzphhlbm-xcb-util-image-0.4.0-dev;/nix/store/x30827bhh4inj2ip2lc7xvxqvzln26vw-xcb-util-image-0.4.0;/nix/store/5fyggn7m0p46nn3q902slzsgbq4jzba0-xcb-util-keysyms-0.4.0-dev;/nix/store/qx69k418j1v7hkayb58iy2983rymxdb3-xcb-util-keysyms-0.4.0;/nix/store/08wcqr5q6bww6xgsgix7a59fi3m3sa8m-xcb-util-renderutil-0.3.9-dev;/nix/store/p6r60icc82pczmdxk2n8jmqc355v8w22-xcb-util-renderutil-0.3.9;/nix/store/47nm1drrcjwlalj415ny3p4i3j8vcv2i-xcb-util-wm-0.4.1-dev;/nix/store/kkwgar2sdacxcvzavd9sc4gavk58ik5j-xcb-util-wm-0.4.1;/nix/store/9ymf7lqjf9nfyccbsrsr6093blqhm5lb-qtbase-5.15.0;/nix/store/45pslh063s9p38q4n8c8r3s8bplqv4iq-python2.7-rospkg-1.1.10;/nix/store/x84kix5aac8nv0wn1bgi95zpmslz0078-python2.7-catkin_pkg-0.4.23;/nix/store/rwvapmrc5ha08n8l4i7fbqpv1v7xv3fw-python2.7-python-dateutil-2.8.1;/nix/store/0mkw5f0h9kwqsh8346ddc77fasdrzywy-python2.7-setuptools_scm-4.1.2;/nix/store/pnj6bwrzd0ffxqskrjcddk91zffvwgjs-python2.7-docutils-0.16;/nix/store/kam26ivfdwgq0lbwxsm85avsmm7jdwnl-python2.7-pyparsing-2.4.6;/nix/store/rq9kzg038vhkhc8hyv0qblyy7xfclfi6-python2.7-PyYAML-5.3.1;/nix/store/z7rf60qm3rl3xbrp0rb5i4n6i2yw9hvc-libogg-1.3.4-dev;/nix/store/b2cvl2jr041351v7vl1d799xxjkgrl2f-libogg-1.3.4;/nix/store/ly45kmaws2id2ghs1zj563il3ixczix0-libtheora-1.1.1-dev;/nix/store/cwmi6jqiiq67m5a42rll1ydhnd90spgw-libvorbis-1.3.7-dev;/nix/store/v2qz2v8nxzglrlxmj4p3d9fx61423wpc-libvorbis-1.3.7;/nix/store/a1mwpb5ahjh0ijcg5vhxpgm7kgs37ibc-libtheora-1.1.1;/nix/store/06j82xh90xmhrn8dls6vy9m56k0k111l-graphviz-2.42.2;/nix/store/sy64q25zm72jfcnin2kmi4yq4wckj3ph-opencv-3.4.8;/nix/store/skvp8jfi42ramklf68pm6q157i5vgnyb-python2.7-numpy-1.16.6;/nix/store/a7a14a6za726mjm33d3a6vqz5knmd97n-python2.7-empy-3.3.4;/nix/store/hrcfjwvzsjrs8j867ds1yfxfa4818m76-util-linux-2.36-dev;/nix/store/v42v57blxlx37gd0vgm4j452ngjc3kq6-util-linux-2.36-bin;/nix/store/h8pyw5gbvdiwg04gx5zxvrvm6h0mvp81-util-linux-2.36;/nix/store/hcp96vdwjdkpkpfaz2pnj7yd0w5xpzz0-linux-headers-5.5;/nix/store/1d8zg2aj7pjwb4z1hxh7krwj710wq26v-console-bridge-1.0.1;/nix/store/xl2xr4fz4an6xpi7m1m0bspn7yi5g518-python2.7-pycryptodomex-3.9.8;/nix/store/p3bxavpvr8m6q4h54prx3cv4kr4bv8qx-python2.7-python-gnupg-0.4.6;/nix/store/vkjya1093dg8az4gmcrpll7hr4d7fhfk-apr-1.7.0-dev;/nix/store/jqqdzp5lw4lffcxd2a41sjiklpl766wx-apr-1.7.0;/nix/store/0525vc5k86ckbqazhpshd16k0b7rbzyv-log4cxx-0.10.0;/nix/store/dd88szlmcs353pnwllpbjfg7b3qp5wp5-python2.7-netifaces-0.10.9;/nix/store/cirm80dlspb0gkgnmprp6rgrzpckfsmx-python2.7-paramiko-2.7.1;/nix/store/2x516p5wyv6sf4ks4v6dsh18xfw7kwjn-python2.7-bcrypt-3.1.7;/nix/store/n0s9j7nbwyv9301a9jfqbz9xl2r64j74-python2.7-cffi-1.14.2-dev;/nix/store/f9anvxyfxh6dfjrfw73bgwffqwa9xdl4-python2.7-pycparser-2.20;/nix/store/vs23yr3mzrpzqzpngkhpm1vrwmvg3cfc-python2.7-cffi-1.14.2;/nix/store/6lkkqbfksn62q7458gd5k773zimabqk1-python2.7-cryptography-2.9.2-dev;/nix/store/mz5wwvpd60ryj51id4fmxgf4k1g5n8l9-python2.7-packaging-20.4;/nix/store/133wn6b3njbcba236ka3mgmm93y2i13l-python2.7-ipaddress-1.0.23;/nix/store/0fwacgixn8lnz3zpkxflqlfwphhm3w34-python2.7-cryptography-2.9.2;/nix/store/a6vaypdbqmp62kr73q0hydas8ilz0n9i-python2.7-pynacl-1.4.0;/nix/store/0w7dlyq6dsyqzdxzq8q8c4i3y7qjc3c7-python2.7-pyasn1-0.4.8;/nix/store/5fjg1102p8vxbb8gw0zabsvfqwf3ywm3-sbcl-2.0.8;/nix/store/rzxnwigcq8c9xv0gxxyhcmd64k5xdlf8-python2.7-defusedxml-0.6.0;/nix/store/58288r5fkbajp17m46pcyn2n0n9ngl6p-catkin-setup-hook;/nix/store/aqq2v35hw0j39if9yz5jvrkfxmmb1q64-hook;/nix/store/58pirl3fzq1xa8h969zj4hbdjyi8i3l6-hook;/nix/store/pksczjksgzsxym8gp454brbk49dbjylx-hook;/nix/store/7kxcc3g2m9kva1s56w6xw4as7g782r87-gtest-1.8.0-dev;/nix/store/6kpsrz6dic3j207xwjd0v0b2f3pafy6x-gtest-1.8.0;/nix/store/acjgm65r85486d7ak6n6ycxb06qkclki-python2.7-nose-1.3.7;/nix/store/6sjlpisx077syj53cz1bydq59ln75q21-python2.7-coverage-5.2.1;/nix/store/i4n6pgk2rm42lmhkgh3sdfyhspl5iij3-python2.7-rosdep-0.17.1;/nix/store/pcbiiclk87aqjcwgv4pxp9z60g5zxcc5-python2.7-rosdistro-0.7.5;/nix/store/xkh0day2751irbbr2j6pim0jf97zkp5k-python-2.7.18-env;/nix/store/xl24r2n23h8r046yjyqimk6jr827lnjv-python2.7-websocket_client-0.57.0;/nix/store/ac33bbqwwgf2hlzlhzf9l9ssnx8ibgll-cairo-1.16.0-dev;/nix/store/iblgqs2wcrqpjz5bc44mapwk0i2wy1bi-pixman-0.38.4;/nix/store/v2ql6945ymmgig4w7pdpqgbg6amm2ja7-cairo-1.16.0;/nix/store/ny0y4mwan7zbw7y3acszsmb3y9vfmjbg-ceres-solver-1.14.0;/nix/store/7i64a8hha1h0w3p3r2sjmydfri5maai9-gflags-2.2.2;/nix/store/fp3ssw5f78fj31i9mlbpi00n08y892ck-glog-0.4.0;/nix/store/id3apxhgxh0lbj6fk2k9gwc11wx9hb6j-libwebp-1.1.0;/nix/store/01pi1lcdfh81n1whsxcc3lk3gh4rlg07-lua-5.2.4;/nix/store/imjjszzjv07l2mrjl3fp06i035i340cl-pcre-8.44-dev;/nix/store/rkblc4b7fbx787d7pbi3fgjv5hhsd95d-pcre-8.44-bin;/nix/store/l0fjgd99h277137ik8b313vxmqzhy7iy-pcre-8.44;/nix/store/mwm69aqwhabkabc39qq5s2va4jw9ydk2-urdfdom-1.0.4;/nix/store/1ja5yqvaqg2fib0bd63aj38j373ybrdv-urdfdom-headers-1.0.5;/nix/store/jpsrbgy2bpy631has5j7cwynlc63gmx8-python2.7-PyQt5-5.15.1-dev;/nix/store/ym7wqx3ixybyqdr5z21d9ab1k7zfmy73-python2.7-dbus-python-1.2.16-dev;/nix/store/93hmi5j1rdznrc1wx2prs0yd8vm991q6-python2.7-dbus-python-1.2.16;/nix/store/16zbx6f7saai07n7b2irr6g2hw11718y-python2.7-PyQt5.sip-4.19.24;/nix/store/qbdn5720iz6m4ypvip9s0yna3n23z1ia-python2.7-PyQt5-5.15.1;/nix/store/dpghgrh4qsi7z05si69n609pbsglcic6-python2.7-sip-4.19.24;/nix/store/kzpi47vpanslqh5k1zdjnysrg6dcrzhw-python2.7-wxPython-3.0.2.0;/nix/store/cli59rj2pr365mwmzzjr4g7cjbmm2vd3-gpgme-1.14.0-dev;/nix/store/wb2wbwndygsw5v3wm2vp8qm3ij8xvib2-libgpg-error-1.38-dev;/nix/store/aqbj95fwzs4zzqsng8s112byg273cfpp-libgpg-error-1.38;/nix/store/k8fxz9v6x9q9gh76qfnkdbqw2qdd55hn-libassuan-2.5.4-dev;/nix/store/zjdl4vcn49a1fca0q3dq5jsnik0pxdgy-libassuan-2.5.4;/nix/store/dl2b1h34q51mn5shcbm8fn7vkdaih09n-pth-2.0.7;/nix/store/p3nyf35yk0jr448bwnbx3dwpqm6bpca9-gpgme-1.14.0;/nix/store/v9j2f0nh19i66g35if24i8z8af4anaw9-poco-1.10.1-dev;/nix/store/znv6br4awlb96dxr95kqkma9pvc8fnn6-poco-1.10.1;/nix/store/spn99psg3hd63b6sjnpjk0cp09k1m497-lz4-1.9.2-dev;/nix/store/iy3fh4031f4ilbx1nfbz2bj14ip15knf-lz4-1.9.2-bin;/nix/store/x0jvlap26107wrvk2vwz4fp6j3c8vjrh-lz4-1.9.2;/nix/store/79x2j4k18ilzmdhjbankvnrhchkjwjv6-compiler-rt-7.1.0-dev;/nix/store/syzhq718dqf6awvmfi6z3i16a3m1n1cp-compiler-rt-7.1.0
-- This workspace overlays: /nix/store/n9581zn5dvq6425nkhfixk0hzvn0aqsb-ros-env
-- Found PythonInterp: /nix/store/9ww2ir2hxnqsp67waw64c1ggr7k5smhs-python-2.7.18/bin/python2 (found suitable version "2.7.18", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /nix/store/9ww2ir2hxnqsp67waw64c1ggr7k5smhs-python-2.7.18/bin/python2
-- Using default Python package layout
-- Using empy: /nix/store/nbhhgk8c7kqy6lffhhrvq901w3y1lxhh-python2.7-empy-3.3.4/lib/python2.7/site-packages/em.pyc
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/xneomac/Developer/sultan2/src/ros_ws/build/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /nix/store/kzc80glrc7lgv6d5y68y0jb1403wgnkr-python2.7-nose-1.3.7/bin/nosetests-2.7
-- catkin 0.7.23
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The big difference I see is the CMAKE_PREFIX_PATH which has all dependencies in nix-shell and only ros-env with the installed version. Is there anything specific to do to make it work with the installed version ?
lopsided98 commented 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.

xneomac commented 3 years ago

OK, duly noted. Thank you for your quick response.