Skip to content

Commit

Permalink
httpd: don't install suid executables into nix store
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Jun 26, 2017
1 parent 72ed360 commit b8bfc8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/servers/http/thttpd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ stdenv.mkDerivation rec {

prePatch = ''
sed -i -e 's/getline/getlineX/' extras/htpasswd.c
sed -i -e 's/chmod 2755/chmod 755/' extras/Makefile.in
'';

preInstall = ''
Expand Down

0 comments on commit b8bfc8d

Please sign in to comment.