From c0d35f87337d9bfb33af08d910fda5f4a564afa4 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Wed, 21 Aug 2024 22:28:48 +0800 Subject: [PATCH] python3Packages.hoomd-blue: fix cmakeFlags for __structuredAttrs --- pkgs/development/python-modules/hoomd-blue/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/hoomd-blue/default.nix b/pkgs/development/python-modules/hoomd-blue/default.nix index e48cc94bccc4..248a2f8cb258 100644 --- a/pkgs/development/python-modules/hoomd-blue/default.nix +++ b/pkgs/development/python-modules/hoomd-blue/default.nix @@ -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";