screen: fix build with libxcrypt

This commit is contained in:
Martin Weinelt
2022-10-09 18:10:32 +02:00
parent 057ae3d0f1
commit be9bc07aa1
+2 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, autoreconfHook, ncurses, utmp, pam ? null }:
{ lib, stdenv, fetchurl, autoreconfHook, ncurses, libxcrypt, utmp, pam ? null }:
stdenv.mkDerivation rec {
pname = "screen";
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
ncurses
libxcrypt
] ++ lib.optional stdenv.isLinux pam
++ lib.optional stdenv.isDarwin utmp;