python3Packages.hoomd-blue: fix cmakeFlags for __structuredAttrs

This commit is contained in:
Yueh-Shun Li
2024-08-21 22:28:48 +08:00
parent 80dd13fbc1
commit c0d35f8733
@@ -49,13 +49,9 @@ buildPythonPackage rec {
"-DBUILD_HPMC=${onOffBool components.hpmc}"
"-DBUILD_MD=${onOffBool components.md}"
"-DBUILD_METAL=${onOffBool components.metal}"
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/${python.sitePackages}"
];
preConfigure = ''
# Since we can't expand $out in `cmakeFlags`
cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_PREFIX=$out/${python.sitePackages}"
'';
# tests fail but have tested that package runs properly
doCheck = false;
checkTarget = "test";