···43 # libraries are in a system path or in the same directory as the
44 # executable. This flag makes the shared library accessible from its
45 # nix/store directory.
46- cmakeFlags="-DCMAKE_INSTALL_NAME_DIR=$prefix/lib $cmakeFlags"
47 cmakeFlags="-DCMAKE_INSTALL_LIBDIR=${!outputLib}/lib $cmakeFlags"
48 cmakeFlags="-DCMAKE_INSTALL_INCLUDEDIR=${!outputDev}/include $cmakeFlags"
49
···43 # libraries are in a system path or in the same directory as the
44 # executable. This flag makes the shared library accessible from its
45 # nix/store directory.
46+ cmakeFlags="-DCMAKE_INSTALL_NAME_DIR=${!outputLib}/lib $cmakeFlags"
47 cmakeFlags="-DCMAKE_INSTALL_LIBDIR=${!outputLib}/lib $cmakeFlags"
48 cmakeFlags="-DCMAKE_INSTALL_INCLUDEDIR=${!outputDev}/include $cmakeFlags"
49
-4
pkgs/tools/compression/brotli/default.nix
···21 # and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
22 prePatch = "rm BUILD";
2324- preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
25- cmakeFlagsArray+=("-DCMAKE_INSTALL_NAME_DIR=$lib/lib")
26- '';
27-28 meta = with stdenv.lib; {
29 inherit (src.meta) homepage;
30
···21 # and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
22 prePatch = "rm BUILD";
23000024 meta = with stdenv.lib; {
25 inherit (src.meta) homepage;
26