python3Packages.units-llnl: set cmakeFlags directly

Using scikit-build-core's setup hook.

Changed files
+3 -8
pkgs
development
python-modules
units-llnl
+3 -8
pkgs/development/python-modules/units-llnl/default.nix
···
ninja
];
dontUseCmakeConfigure = true;
-
env = {
-
SKBUILD_CMAKE_ARGS = lib.strings.concatStringsSep ";" (
-
cmakeFlags
-
++ [
-
(lib.cmakeBool "UNITS_BUILD_PYTHON_LIBRARY" true)
-
]
-
);
-
};
+
cmakeFlags = cmakeFlags ++ [
+
(lib.cmakeBool "UNITS_BUILD_PYTHON_LIBRARY" true)
+
];
# Also upstream turns off testing for the python build so it seems, see:
# https://github.com/LLNL/units/blob/v0.13.1/pyproject.toml#L65-L66 However