mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
opensmtpd: Fix attempt to set unsupported permissions during install
This commit is contained in:
parent
627260ddbf
commit
04aa269fb1
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace smtpd/smtpctl.c --replace \
|
||||
'if (geteuid())' \
|
||||
'if (geteuid() != 0 && !(argc > 1 && !strcmp(argv[1], "encrypt")))'
|
||||
substituteInPlace mk/smtpctl/Makefile.in --replace "chmod 2555" "chmod 0555"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user