forked from mirrors/nixpkgs
xsecurelock: hardcode path to xset
(cherry picked from commit c04e6e04e2
)
This commit is contained in:
parent
85b269a5d5
commit
97ba5aac8d
|
@ -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;
|
||||
|
|
|
@ -6135,7 +6135,9 @@ with pkgs;
|
|||
libxml2 = libxml2Python;
|
||||
};
|
||||
|
||||
xsecurelock = callPackage ../tools/X11/xsecurelock { };
|
||||
xsecurelock = callPackage ../tools/X11/xsecurelock {
|
||||
xset = xorg.xset;
|
||||
};
|
||||
|
||||
xsel = callPackage ../tools/misc/xsel { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue