diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-10-11 02:06:16 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-10-11 02:08:37 +0200 |
commit | c04e6e04e2f5ed33816c59b1fade01ca3e00aa3f (patch) | |
tree | 8b156c72fec8046089482d710f007d90041893e1 /pkgs/tools/X11/xsecurelock | |
parent | cf440dae56392484f893eb6913b56cb5865976e8 (diff) |
xsecurelock: hardcode path to xset
Diffstat (limited to 'pkgs/tools/X11/xsecurelock')
-rw-r--r-- | pkgs/tools/X11/xsecurelock/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/X11/xsecurelock/default.nix b/pkgs/tools/X11/xsecurelock/default.nix index 4ee51100b339..88e36bfde39c 100644 --- a/pkgs/tools/X11/xsecurelock/default.nix +++ b/pkgs/tools/X11/xsecurelock/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig , libX11, libXcomposite, libXft, libXmu, pam, apacheHttpd, imagemagick -, pamtester, xscreensaver }: +, pamtester, xscreensaver, xset }: stdenv.mkDerivation rec { name = "xsecurelock-${version}"; @@ -24,6 +24,11 @@ stdenv.mkDerivation rec { "--with-xscreensaver=${xscreensaver}/libexec/xscreensaver" ]; + preInstall = '' + substituteInPlace helpers/saver_blank \ + --replace 'protect xset' 'protect ${xset}/bin/xset' + ''; + meta = with lib; { description = "X11 screen lock utility with security in mind"; homepage = https://github.com/google/xsecurelock; |