slock: Avoid chmod u+s (#26600)

This commit is contained in:
mingchuan 2017-06-22 22:41:55 +08:00
parent 9c57f3b5c0
commit 722d61c2f2

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
installFlags = "DESTDIR=\${out} PREFIX=";
patchPhase = "sed -i '/chmod u+s/d' Makefile";
preBuild = optionalString (conf != null) ''
cp ${writeText "config.def.h" conf} config.def.h
'';