slock: adds ability to add custom patches
This commit is contained in:
parent
11a4e90fbe
commit
67120e231d
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installFlags = "DESTDIR=\${out} PREFIX=";
|
||||
|
||||
patchPhase = "sed -i '/chmod u+s/d' Makefile";
|
||||
postPatch = "sed -i '/chmod u+s/d' Makefile";
|
||||
|
||||
preBuild = optionalString (conf != null) ''
|
||||
cp ${writeText "config.def.h" conf} config.def.h
|
||||
|
@ -19065,7 +19065,9 @@ with pkgs;
|
||||
|
||||
seafile-shared = callPackage ../misc/seafile-shared { };
|
||||
|
||||
slock = callPackage ../misc/screensavers/slock { };
|
||||
slock = callPackage ../misc/screensavers/slock {
|
||||
conf = config.slock.conf or null;
|
||||
};
|
||||
|
||||
smokeping = callPackage ../tools/networking/smokeping {
|
||||
inherit fping rrdtool;
|
||||
|
Loading…
Reference in New Issue
Block a user