From 5618a1e49af4930cb8f1d4c75b0cccca40915274 Mon Sep 17 00:00:00 2001 From: Ruby Iris Juric Date: Wed, 27 Aug 2025 23:02:18 +1000 Subject: [PATCH] python3Packages.rtslib-fb: fix build failures --- pkgs/development/python-modules/rtslib-fb/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkgs/development/python-modules/rtslib-fb/default.nix b/pkgs/development/python-modules/rtslib-fb/default.nix index 5704aec8ddb7..18544ca09c3f 100644 --- a/pkgs/development/python-modules/rtslib-fb/default.nix +++ b/pkgs/development/python-modules/rtslib-fb/default.nix @@ -16,12 +16,6 @@ buildPythonPackage rec { version = "2.2.3"; pyproject = true; - # TypeError: 'method' object does not support the context manager protocol - postPatch = '' - substituteInPlace rtslib/root.py \ - --replace-fail "Path(restore_file).open" "Path(restore_file).open('r')" - ''; - src = fetchFromGitHub { owner = "open-iscsi"; repo = "rtslib-fb"; @@ -38,10 +32,6 @@ buildPythonPackage rec { pyudev ]; - postInstall = '' - install -Dm555 scripts/targetctl -t $out/bin - ''; - # No tests doCheck = false;