From c6e002c0fc3d813099329ecf24ff72f0110219dc Mon Sep 17 00:00:00 2001 From: Yorick Date: Sat, 21 Sep 2019 15:10:41 +0200 Subject: [PATCH 1/2] pythonPackages.license-expression: fix build --- pkgs/development/python-modules/license-expression/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/license-expression/default.nix b/pkgs/development/python-modules/license-expression/default.nix index 6d52e5f5c1f5..12d26cf6dd09 100644 --- a/pkgs/development/python-modules/license-expression/default.nix +++ b/pkgs/development/python-modules/license-expression/default.nix @@ -12,6 +12,7 @@ buildPythonPackage rec { rev = "v${version}"; sha256 = "0q8sha38w7ajg7ar0rmbqrwv0n58l8yzyl96cqwcbvp578fn3ir0"; }; + postPatch = "patchShebangs ."; propagatedBuildInputs = [ boolean-py ]; From b640dbd00877f51616750e347a32fbcb49d2968c Mon Sep 17 00:00:00 2001 From: Yorick Date: Mon, 23 Sep 2019 13:50:31 +0200 Subject: [PATCH 2/2] pythonPackages.license-expression: make patchShebangs more specific --- pkgs/development/python-modules/license-expression/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/license-expression/default.nix b/pkgs/development/python-modules/license-expression/default.nix index 12d26cf6dd09..2bf204a9a628 100644 --- a/pkgs/development/python-modules/license-expression/default.nix +++ b/pkgs/development/python-modules/license-expression/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { rev = "v${version}"; sha256 = "0q8sha38w7ajg7ar0rmbqrwv0n58l8yzyl96cqwcbvp578fn3ir0"; }; - postPatch = "patchShebangs ."; + postPatch = "patchShebangs ./configure"; propagatedBuildInputs = [ boolean-py ];