3
0
Fork 0
forked from mirrors/nixpkgs

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
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, meson , meson
, ninja , ninja
, pkgconfig , pkgconfig
@ -36,6 +37,13 @@ stdenv.mkDerivation rec {
# Do not build things that are part of malcontent-ui package # Do not build things that are part of malcontent-ui package
./better-separation.patch ./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 = [ nativeBuildInputs = [