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;