From 1a93383024e77ba5da00dcb15a61ddf49cd7577a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Dec 2023 09:00:55 +0100 Subject: [PATCH] python310Packages.cx-freeze: update postPatch section --- pkgs/development/python-modules/cx-freeze/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cx-freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix index 7ebdb249854d..91cae6b49d7f 100644 --- a/pkgs/development/python-modules/cx-freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "cx-freeze"; version = "6.15.12"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -35,11 +35,10 @@ buildPythonPackage rec { postPatch = '' # timestamp need to come after 1980 for zipfiles and nix store is set to epoch - substituteInPlace cx_Freeze/freezer.py --replace "st.st_mtime" "time.time()" + substituteInPlace cx_Freeze/freezer.py \ + --replace "st.st_mtime" "time.time()" sed -i /patchelf/d pyproject.toml - substituteInPlace pyproject.toml \ - --replace 'setuptools>=61.2,<67' setuptools ''; makeWrapperArgs = [