diff options
author | Jaka Hudoklin <jaka@x-truder.net> | 2020-01-19 23:55:03 +0000 |
---|---|---|
committer | Jaka Hudoklin <jaka@x-truder.net> | 2020-01-20 13:40:33 +0000 |
commit | d0a3a800c8b28ab1a52f793dabecd65d82baf9d5 (patch) | |
tree | 401445767eacf015e6fdd014596f82452192277c /pkgs/misc | |
parent | 21f74cc3aba4dd4c8540b35f8cd0873bef15a2d6 (diff) |
xss-lock: use fork with session param support
xss-lock uses current session that cannot be overriden. This prevents starting xss-lock as systemd user service, as described here: https://bitbucket.org/raymonad/xss-lock/issues/13/allow-operation-as-systemd-user-unit This change uses source from github.com/xdbob/xss-lock that adds `--session` parameter.
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/screensavers/xss-lock/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/misc/screensavers/xss-lock/default.nix b/pkgs/misc/screensavers/xss-lock/default.nix index 500f7a9c5a3f2..b7b0e27ad46b1 100644 --- a/pkgs/misc/screensavers/xss-lock/default.nix +++ b/pkgs/misc/screensavers/xss-lock/default.nix @@ -1,13 +1,14 @@ -{ stdenv, fetchgit, cmake, docutils, pkgconfig, glib, libpthreadstubs +{ stdenv, fetchFromGitHub, cmake, docutils, pkgconfig, glib, libpthreadstubs , libXau, libXdmcp, xcbutil }: stdenv.mkDerivation { - name = "xss-lock-git-2014-03-02"; + name = "xss-lock-git-2018-05-31"; - src = fetchgit { - url = https://bitbucket.org/raymonad/xss-lock.git; - rev = "1e158fb20108058dbd62bd51d8e8c003c0a48717"; - sha256 = "10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r"; + src = fetchFromGitHub { + owner = "xdbob"; + repo = "xss-lock"; + rev = "cd0b89df9bac1880ea6ea830251c6b4492d505a5"; + sha256 = "040nqgfh564frvqkrkmak3x3h0yadz6kzk81jkfvd9vd20a9drh7"; }; nativeBuildInputs = [ pkgconfig ]; @@ -17,7 +18,7 @@ stdenv.mkDerivation { meta = with stdenv.lib; { description = "Use external locker (such as i3lock) as X screen saver"; license = licenses.mit; - maintainers = with maintainers; [ malyn ]; + maintainers = with maintainers; [ malyn offline ]; platforms = platforms.linux; }; } |