mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove darkhttpd patches
This commit is contained in:
parent
4a60b575d8
commit
89a12cf601
1 changed files with 1 additions and 12 deletions
|
@ -6,6 +6,7 @@
|
|||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
darkhttpd
|
||||
dnsutils
|
||||
du-dust
|
||||
entr
|
||||
|
@ -69,18 +70,6 @@
|
|||
print(str(int(ln.split(' ')[-1])/(1024*1024*1024))[:5],'GB')
|
||||
'')
|
||||
|
||||
(darkhttpd.overrideAttrs (old: {
|
||||
patches = [
|
||||
(builtins.toFile "port.patch" ''
|
||||
--- a/darkhttpd.c
|
||||
+++ b/darkhttpd.c
|
||||
@@ -291 +291 @@ static const char *bindaddr;
|
||||
-static uint16_t bindport = 8080; /* or 80 if running as root */
|
||||
+static uint16_t bindport = 8000; /* or 80 if running as root */
|
||||
'')
|
||||
];
|
||||
}))
|
||||
|
||||
];
|
||||
|
||||
environment.variables.HTOPRC = "/dev/null";
|
||||
|
|
Loading…
Reference in a new issue