3
0
Fork 0
forked from mirrors/nixpkgs

ppp: disable IPX on musl

As noted in the comment, this will be removed entirely in the next
release anyway.
This commit is contained in:
Alyssa Ross 2023-01-31 11:41:14 +00:00
parent 66bb8338fc
commit ed5afe8b9d
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -53,6 +53,14 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lcrypt";
# This can probably be removed if version > 2.4.9, as IPX support
# has been removed upstream[1]. Just check whether pkgsMusl.ppp
# still builds.
#
# [1]: https://github.com/ppp-project/ppp/commit/c2881a6b71a36d28a89166e82820dc5e711fd775
NIX_CFLAGS_COMPILE =
lib.optionalString stdenv.hostPlatform.isMusl "-UIPX_CHANGE";
installPhase = ''
runHook preInstall
mkdir -p $out/bin