mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 18:47:55 +00:00
pptp: Fix path to ip
routing.c has hardcoded /bin/ip. Use ${iproute2}/sbin/ip instead.
This commit is contained in:
parent
64f932f8fd
commit
8071b4040e
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, ppp }:
|
||||
{ stdenv, fetchurl, perl, ppp, iproute }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pptp-1.7.2";
|
||||
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
patchPhase =
|
||||
''
|
||||
sed -e 's/install -o root/install/' -i Makefile
|
||||
sed -e 's,/bin/ip,${iproute}/sbin/ip,' -i routing.c
|
||||
'';
|
||||
preConfigure =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user