xtrlock-pam: use xorg.* packages directly instead of xlibsWrapper indirection

Tested as no material change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-10-29 08:49:20 +01:00 committed by Bjørn Forsman
parent 75633a59b1
commit e180a6988a

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, xlibsWrapper, pam }:
{ lib, stdenv, fetchFromGitHub, python2, pkg-config, pam, xorg }:
stdenv.mkDerivation {
pname = "xtrlock-pam";
@ -12,7 +12,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ python2 xlibsWrapper pam ];
buildInputs = [ python2 pam xorg.libX11 ];
configurePhase = ''
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h