molsketch: fix cmakeFlags for __structuredAttrs

This commit is contained in:
Yueh-Shun Li 2024-08-21 22:10:12 +08:00
parent 757247cb45
commit b3d96378e1

View File

@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
--replace "CXX_STANDARD 14" "CXX_STANDARD 17"
'';
preConfigure = ''
cmakeFlags="$cmakeFlags -DMSK_PREFIX=$out"
'';
cmakeFlags = [
"-DMSK_PREFIX=${placeholder "out"}"
];
postFixup = ''
ln -s $out/lib/molsketch/* $out/lib/.