Use "${vips}" instead of "${vips.out}"

This commit is contained in:
Sergei Maximov 2019-01-31 18:42:05 +03:00
parent 5aaf8c0e15
commit 58f6729e56

View file

@ -358,7 +358,7 @@ in
--replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}"
substituteInPlace lib/vips.rb \
--replace "vips_libname = 'vips'" "vips_libname = '${vips.out}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'"
--replace "vips_libname = 'vips'" "vips_libname = '${vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
};