pppd: fix build with libxcrypt

This commit is contained in:
Martin Weinelt
2022-10-09 18:10:33 +02:00
parent be9bc07aa1
commit 43327d2957
+4
View File
@@ -3,6 +3,7 @@
, fetchFromGitHub
, substituteAll
, libpcap
, libxcrypt
, openssl
, bash
}:
@@ -31,6 +32,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libpcap
libxcrypt
openssl
bash
];
@@ -48,6 +50,8 @@ stdenv.mkDerivation rec {
"CC=${stdenv.cc.targetPrefix}cc"
];
NIX_LDFLAGS = "-lcrypt";
installPhase = ''
runHook preInstall
mkdir -p $out/bin