libevent: fix event_rpcgen.py
This should help fix the COPRTHR build. Although a Python dependency was added, it was broken anyway... Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
31428612c2
commit
ba085ee318
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl, python }:
|
||||||
|
|
||||||
let version = "2.0.21"; in
|
let version = "2.0.21"; in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -9,6 +9,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1xblymln9vihdmf1aqkp8chwvnhpdch3786bh30bj75slnl31992";
|
sha256 = "1xblymln9vihdmf1aqkp8chwvnhpdch3786bh30bj75slnl31992";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace event_rpcgen.py \
|
||||||
|
--replace "/usr/bin/env python2" "${python}/bin/python"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "libevent, an event notification library";
|
description = "libevent, an event notification library";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user