mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
xsecurelock: hardcode path to xset
This commit is contained in:
parent
cf440dae56
commit
c04e6e04e2
@ -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;
|
||||
|
@ -6212,7 +6212,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 New Issue
Block a user