screen: fix build with libxcrypt

This commit is contained in:
Martin Weinelt 2022-09-27 12:33:59 +02:00
parent 057ae3d0f1
commit be9bc07aa1
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

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;