Merge pull request #29108 from Gerschtli/update/slock-patches
slock: adds ability to add custom patches
This commit is contained in:
commit
a75174ae4c
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "DESTDIR=\${out} PREFIX=";
|
installFlags = "DESTDIR=\${out} PREFIX=";
|
||||||
|
|
||||||
patchPhase = "sed -i '/chmod u+s/d' Makefile";
|
postPatch = "sed -i '/chmod u+s/d' Makefile";
|
||||||
|
|
||||||
preBuild = optionalString (conf != null) ''
|
preBuild = optionalString (conf != null) ''
|
||||||
cp ${writeText "config.def.h" conf} config.def.h
|
cp ${writeText "config.def.h" conf} config.def.h
|
||||||
|
@ -19104,7 +19104,9 @@ with pkgs;
|
|||||||
|
|
||||||
seafile-shared = callPackage ../misc/seafile-shared { };
|
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 {
|
smokeping = callPackage ../tools/networking/smokeping {
|
||||||
inherit fping rrdtool;
|
inherit fping rrdtool;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user