xsecurelock: hardcode path to xset
This commit is contained in:
parent
cf440dae56
commit
c04e6e04e2
@ -1,6 +1,6 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, libX11, libXcomposite, libXft, libXmu, pam, apacheHttpd, imagemagick
|
, libX11, libXcomposite, libXft, libXmu, pam, apacheHttpd, imagemagick
|
||||||
, pamtester, xscreensaver }:
|
, pamtester, xscreensaver, xset }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xsecurelock-${version}";
|
name = "xsecurelock-${version}";
|
||||||
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-xscreensaver=${xscreensaver}/libexec/xscreensaver"
|
"--with-xscreensaver=${xscreensaver}/libexec/xscreensaver"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
substituteInPlace helpers/saver_blank \
|
||||||
|
--replace 'protect xset' 'protect ${xset}/bin/xset'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "X11 screen lock utility with security in mind";
|
description = "X11 screen lock utility with security in mind";
|
||||||
homepage = https://github.com/google/xsecurelock;
|
homepage = https://github.com/google/xsecurelock;
|
||||||
|
@ -6212,7 +6212,9 @@ with pkgs;
|
|||||||
libxml2 = libxml2Python;
|
libxml2 = libxml2Python;
|
||||||
};
|
};
|
||||||
|
|
||||||
xsecurelock = callPackage ../tools/X11/xsecurelock { };
|
xsecurelock = callPackage ../tools/X11/xsecurelock {
|
||||||
|
xset = xorg.xset;
|
||||||
|
};
|
||||||
|
|
||||||
xsel = callPackage ../tools/misc/xsel { };
|
xsel = callPackage ../tools/misc/xsel { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user