slock: adds ability to add custom patches

This commit is contained in:
Tobias Happ 2017-09-23 23:08:09 +02:00
parent 11a4e90fbe
commit 67120e231d
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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;