mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
slock: Avoid chmod u+s (#26600)
This commit is contained in:
parent
9c57f3b5c0
commit
722d61c2f2
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user