mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
darkhttpd
|
||||||
dnsutils
|
dnsutils
|
||||||
du-dust
|
du-dust
|
||||||
entr
|
entr
|
||||||
|
@ -69,18 +70,6 @@
|
||||||
print(str(int(ln.split(' ')[-1])/(1024*1024*1024))[:5],'GB')
|
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";
|
environment.variables.HTOPRC = "/dev/null";
|
||||||
|
|
Loading…
Reference in a new issue