yarp: fix cmakeFlags for __structuredAttrs

This commit is contained in:
Yueh-Shun Li 2024-08-21 22:14:31 +08:00
parent f4c1b6f205
commit 1e8290ea5f

View File

@ -18,11 +18,9 @@ stdenv.mkDerivation rec {
"-DYARP_COMPILE_UNMAINTAINED:BOOL=ON"
"-DCREATE_YARPC:BOOL=ON"
"-DCREATE_YARPCXX:BOOL=ON"
"-DCMAKE_INSTALL_LIBDIR=${placeholder "out"}/lib"
];
# since we cant expand $out in cmakeFlags
preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_LIBDIR=$out/lib"'';
postInstall = "mv ./$out/lib/*.so $out/lib/";
meta = {