nixpkgs/pkgs/servers/gotify
Maximilian Bosch 4a559f8fee
gotify-server: fix UI
In version 2.0.15 `gotify` switched to `packr` at 2.x which is why the
UI can't be served properly via HTTP and causes an empty 500 response and
the following errors in `journald`:

```
2020/09/12 19:18:33 [Recovery] 2020/09/12 - 19:18:33 panic recovered:
GET / HTTP/1.1
Host: localhost:8080
Accept: */*
User-Agent: curl/7.72.0

stat /home/ma27/Projects/ui/build/index.html: no such file or directory
```

This wasn't caught by the VM-test as it only tested the REST and push
APIs. Using their internal `packr.go` script in our build as it's the
case in the upstream build-system[1] fixes the issue.

[1] https://github.com/gotify/server/pull/277/files#diff-b67911656ef5d18c4ae36cb6741b7965R48
2020-09-12 19:30:17 +02:00
..
default.nix gotify-server: fix UI 2020-09-12 19:30:17 +02:00
package.json gotify-server: 2.0.15 -> 2.0.16 2020-05-10 23:12:41 +03:00
source-sha.nix gotify-server: 2.0.16 -> 2.0.17 2020-07-23 00:10:40 +03:00
ui.nix gotify-server: 2.0.4 -> 2.0.5 2020-04-27 16:56:50 +03:00
update.sh gotify: adapt update script to use vendor sha 2020-05-15 01:39:42 +03:00
vendor-sha.nix gotify-server: 2.0.16 -> 2.0.17 2020-07-23 00:10:40 +03:00
version.nix gotify-server: 2.0.16 -> 2.0.17 2020-07-23 00:10:40 +03:00
yarndeps.nix gotify-server: 2.0.15 -> 2.0.16 2020-05-10 23:12:41 +03:00