malcontent: Fix installed tests

Installed tests tried to load the PAM module from installed tests prefix instead of the configured pamlibdir.

Forgot to do this in 0.5.0 bump.
This commit is contained in:
Jan Tojnar
2020-03-26 03:36:44 +01:00
parent f3d1333f0d
commit 4e68e0a5a2

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitLab
, fetchpatch
, meson
, ninja
, pkgconfig
@@ -36,6 +37,13 @@ stdenv.mkDerivation rec {
# Do not build things that are part of malcontent-ui package
./better-separation.patch
# Fix pam installed test
# https://gitlab.freedesktop.org/pwithnall/malcontent/merge_requests/50
(fetchpatch {
url = "https://gitlab.freedesktop.org/pwithnall/malcontent/commit/5d102eeb0604e65fc977ca77d4b249e986e634cc.patch";
sha256 = "5PD/eJBw/8Uqcia7ena9mu45DgREBFj0zUJpcd0vQ+8=";
})
];
nativeBuildInputs = [