sstp: rename phase

This commit is contained in:
Fabian Affolter 2021-09-05 11:22:45 +02:00 committed by GitHub
parent d705ef6521
commit 420797fe78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-hISqUfv75Big661YrSCo7hxG7XH4AL4YvNI7Qua6rWQ=";
};
patchPhase =
''
postPatch = ''
sed 's,/usr/sbin/pppd,${ppp}/sbin/pppd,' -i src/sstp-pppd.c
sed "s,sstp-pppd-plugin.so,$out/lib/pppd/sstp-pppd-plugin.so," -i src/sstp-pppd.c
'';