Loading pkgs/development/python-modules/cx-freeze/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -17,10 +17,7 @@ patchelf, dmgbuild, # tests anyio, bcrypt, darwin, python, pytest-mock, pytestCheckHook, Loading Loading @@ -82,6 +79,9 @@ buildPythonPackage rec { pytestCheckHook writableTmpDirAsHomeHook versionCheckHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ]; versionCheckProgram = "${placeholder "out"}/bin/cxfreeze"; Loading pkgs/development/python-modules/cx-logging/default.nix +6 −0 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, Loading @@ -21,6 +22,11 @@ buildPythonPackage (finalAttrs: { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools>=70.1,<75" "setuptools" '' # The flag -soname isn't recognized by the linker on darwin. Only -install_name is valid. + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace setup.py \ --replace-fail "-soname" "-install_name" ''; build-system = [ setuptools ]; Loading Loading
pkgs/development/python-modules/cx-freeze/default.nix +4 −4 Original line number Diff line number Diff line Loading @@ -17,10 +17,7 @@ patchelf, dmgbuild, # tests anyio, bcrypt, darwin, python, pytest-mock, pytestCheckHook, Loading Loading @@ -82,6 +79,9 @@ buildPythonPackage rec { pytestCheckHook writableTmpDirAsHomeHook versionCheckHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ]; versionCheckProgram = "${placeholder "out"}/bin/cxfreeze"; Loading
pkgs/development/python-modules/cx-logging/default.nix +6 −0 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, Loading @@ -21,6 +22,11 @@ buildPythonPackage (finalAttrs: { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools>=70.1,<75" "setuptools" '' # The flag -soname isn't recognized by the linker on darwin. Only -install_name is valid. + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace setup.py \ --replace-fail "-soname" "-install_name" ''; build-system = [ setuptools ]; Loading