From 4e68e0a5a266600ea755f8829b0acf3630318841 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Thu, 26 Mar 2020 03:36:44 +0100 Subject: [PATCH] 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. --- pkgs/development/libraries/malcontent/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/malcontent/default.nix b/pkgs/development/libraries/malcontent/default.nix index b7413c6dedee..bf2ec7725072 100644 --- a/pkgs/development/libraries/malcontent/default.nix +++ b/pkgs/development/libraries/malcontent/default.nix @@ -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 = [