diff --git a/pkgs/by-name/km/kmscon/package.nix b/pkgs/by-name/km/kmscon/package.nix index c4b696cd255d..eca939914d9a 100644 --- a/pkgs/by-name/km/kmscon/package.nix +++ b/pkgs/by-name/km/kmscon/package.nix @@ -57,12 +57,19 @@ stdenv.mkDerivation rec { libxslt # xsltproc ]; + # Remove the patches attrlist once the package is bumped to something newer than both of these patches patches = [ (fetchpatch { name = "0001-tests-fix-warnings.patch"; url = "https://github.com/Aetf/kmscon/commit/b65f4269b03de580923ab390bde795e7956b633f.patch"; sha256 = "sha256-ngflPwmNMM/2JzhV+hHiH3efQyoSULfqEywzWox9iAQ="; }) + (fetchpatch { + # https://github.com/Aetf/kmscon/pull/96 + name = "0002-runtime-fix-logout.patch"; + url = "https://github.com/Aetf/kmscon/commit/a81941f4464e6f9cee75bfb8a1db88c253ede33d.patch"; + sha256 = "sha256-geWu8MVsHKs8VHauh5Tf9eWJrdA5+0bPFAQ32T6Xsqg="; + }) ]; # _FORTIFY_SOURCE requires compiling with optimization (-O)