otpw: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 01:59:34 +02:00 committed by Martin Weinelt
parent eee1cec722
commit 55a576305e
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pam }:
{ lib, stdenv, fetchurl, pam, libxcrypt }:
stdenv.mkDerivation rec {
pname = "otpw";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
cp *.8 $out/share/man/man8
'';
buildInputs = [ pam ];
buildInputs = [ pam libxcrypt ];
hardeningDisable = [ "stackprotector" ];