simp_le: patch shebangs
This commit is contained in:
parent
e144fa07b9
commit
727c76765d
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
|
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, bash }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "simp_le-client";
|
pname = "simp_le-client";
|
||||||
@ -9,6 +9,11 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
sha256 = "0nv9mm99rm8i9flgfgwvmajbsxb5rm162nfxlq3wk66bbbyr6y1i";
|
sha256 = "0nv9mm99rm8i9flgfgwvmajbsxb5rm162nfxlq3wk66bbbyr6y1i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace simp_le.py \
|
||||||
|
--replace "/bin/sh" "${bash}/bin/sh"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
$out/bin/simp_le --test
|
$out/bin/simp_le --test
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user