-- Looking for ffmpeg/avformat.h - not found
-- Found PythonInterp: /nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/bin/python3 (found suitable version "3.5.1", minimum required is "2.0")
-- Found PythonLibs: /nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/lib/libpython3.5m.so (found suitable exact version "3.5.1")
File "<string>", line 1
from distutils.sysconfig import *; print get_python_lib()
^
SyntaxError: invalid syntax
File "<string>", line 1
import os; os.environ['DISTUTILS_USE_SDK']='1'; import numpy.distutils; print numpy.distutils.misc_util.get_numpy_include_dirs()[0]
^
SyntaxError: invalid syntax
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
[clever@amd-nixos:~]$ nix-store -l /nix/store/s1mv1cwsdg94kah0bcg8d3fhpwj3dnik-opencv-2.4.13/
...
-- OpenCV modules:
-- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: androidcamera dynamicuda java python viz
...
-- Python:
-- Interpreter: /nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/bin/python3 (ver 3.5.1)
[clever@amd-nixos:~]$ nix-build '<nixpkgs>' -A car --arg config 'import ./codepython.nix'
/nix/store/33yaqdzprh6fvknxq3svzdb76iq89r80-car
[clever@amd-nixos:~]$ nix-env -i /nix/store/33yaqdzprh6fvknxq3svzdb76iq89r80-car
installing ‘car’
building path(s) ‘/nix/store/x58kq0gqxjj384dx1mrv1czr0ylzxqd0-user-environment’
created 9307 symlinks in user environment
[clever@amd-nixos:~]$