fix source root locations.

These have changed following commit
c3255fe8ec.

See also:

- https://github.com/NixOS/nixpkgs/pull/31004
- https://github.com/NixOS/nixpkgs/pull/31106
This commit is contained in:
Piotr Bogdan
2017-11-02 12:54:20 +00:00
parent 7f921735e7
commit 8904ce343a
25 changed files with 72 additions and 24 deletions

View File

@@ -16,7 +16,9 @@ stdenv.mkDerivation rec
buildInputs = [ unzip openexr boost tbb jemalloc c-blosc ilmbase ];
sourceRoot = "openvdb-v${version}-src/openvdb";
setSourceRoot = ''
sourceRoot=$(echo */openvdb)
'';
installTargets = "install_lib";