cleverca22
7/10/2016 - 12:44 PM

gistfile1.nix


{
  allowUnfree = true;
  pulseaudio = true;
  packageOverrides = pkgs: rec {
    car = with pkgs; buildEnv {
      name = "car";
      paths = with python35Packages; [
        htop
        gitAndTools.gitFull
        cmake
        mercurial
        python35
        cython
        pip
        virtualenv
        freetype
        libpng
        (
          (opencv.override { enablePython = true; enableFfmpeg = true; enableEigen = true; })
          .overrideDerivation (oldAttrs: { cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DPYTHON_EXECUTABLE=${python}/bin/python3" ]; })
        )
      ];
    };
  };
}