diff --git a/pkgs/development/libraries/science/chemistry/tblite/python.nix b/pkgs/development/libraries/science/chemistry/tblite/python.nix index f19c3377b178..8bf30f970056 100644 --- a/pkgs/development/libraries/science/chemistry/tblite/python.nix +++ b/pkgs/development/libraries/science/chemistry/tblite/python.nix @@ -47,12 +47,5 @@ buildPythonPackage { format = "other"; pythonImportsCheck = [ "tblite" "tblite.interface" ]; - configurePhase = '' - runHook preConfigure - - meson setup build -Dpython=true --prefix=$out - cd build - - runHook postConfigure - ''; + mesonFlags = [ "-Dpython=true" ]; }