mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
cinnamon.cinnamon-screensaver: Ignore shift-f10 keybinding
Fixes a lock screen bypass vulnerability, on nixos-unstable this is fixed in 6.2.1.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, meson
|
||||
, ninja
|
||||
@@ -37,6 +38,15 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-ncYE2dCIAQxCMCe/5zrDU9iHTIkw+iO/IQl8+pfTvLI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# keybindings: Ignore shift-f10 (alternate menu popup shortcut).
|
||||
# https://github.com/linuxmint/cinnamon-screensaver/issues/462
|
||||
(fetchpatch {
|
||||
url = "https://github.com/linuxmint/cinnamon-screensaver/commit/bda58ec0226e94dfe388863f7a9438414a5e110f.patch";
|
||||
hash = "sha256-IIQhIQtOlJZqGMebCB1phqcQMb+aXbgB4Wzl0CpVJEQ=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
|
||||
Reference in New Issue
Block a user