From 9d79ac1125ea7cbe1819d2545b68da18a18c237e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 11 Sep 2023 14:13:06 +0200 Subject: [PATCH] python3Packages.pyopenssl: fix `postPatch` Add `-i` so that `sed` writes its output to the file. Previously, the `sed` command was a no-op.` --- pkgs/development/python-modules/pyopenssl/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyopenssl/default.nix b/pkgs/development/python-modules/pyopenssl/default.nix index 4e67fd0783d5..bc841cc2fd4e 100644 --- a/pkgs/development/python-modules/pyopenssl/default.nix +++ b/pkgs/development/python-modules/pyopenssl/default.nix @@ -36,7 +36,7 @@ buildPythonPackage rec { postPatch = '' # remove cryptography pin - sed "/cryptography/ s/,<[0-9]*//g" setup.py + sed -i "/cryptography/ s/,<[0-9]*//g" setup.py ''; propagatedBuildInputs = [