mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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
|
||||
stdenv.mkDerivation {
|
||||
|
@ -9,6 +9,11 @@ stdenv.mkDerivation {
|
|||
sha256 = "1xblymln9vihdmf1aqkp8chwvnhpdch3786bh30bj75slnl31992";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace event_rpcgen.py \
|
||||
--replace "/usr/bin/env python2" "${python}/bin/python"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "libevent, an event notification library";
|
||||
|
||||
|
|
Loading…
Reference in a new issue