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:
parent
f3d1333f0d
commit
4e68e0a5a2
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue