nixpkgs/pkgs/servers/gotify
Maximilian Bosch 920474b7f7
gotify: 2.0.21 -> 2.1.0
ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.22
ChangeLog: https://github.com/gotify/server/releases/tag/v2.0.23
ChangeLog: https://github.com/gotify/server/releases/tag/v2.1.0

While the update only contains a few small features and a few bugfixes,
the change was rather messy for us unfortunately:

* It seems as if `npmjs.org`-packages can't be transformed into
  `pkg___pkg-x.y.z` for Yarn's offline cache. The name
  `https___registry.npmjs.org_caniuse_lite___caniuse_lite_1.0.30001237.tgz`
  isn't the problem because when changing the URL "parser" of `yarn2nix`
  to transform this into `org_caniuse_lite___caniuse_lite_1.0.30001237`
  this doesn't help either.

  Instead, I derived the fix from `gitlab`[1] where `yarn.lock` gets
  patched to make sure that it detects the package in the offline-cache
  properly.

* The frontend is now built with `react-scripts`. This is a problem for
  us because it tries to write into `node_modules/.cache` even though
  `node_modules` is a store-path in the context of `yarn2nix`[2].

  The change isn't pretty, but solves the issue for us.

[1] f007b794c7/pkgs/applications/version-management/gitlab/default.nix (L85-L86)
[2] https://github.com/facebook/create-react-app/issues/11263
2021-10-01 12:25:32 +02:00
..
default.nix treewide: buildFlagsArray -> ldflags 2021-08-26 15:43:28 +10:00
package.json gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00
source-sha.nix gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00
ui.nix gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00
update.sh gotify-server: 2.0.17 -> 2.0.18 2020-09-13 17:03:39 +03:00
vendor-sha.nix gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00
version.nix gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00
yarndeps.nix gotify: 2.0.21 -> 2.1.0 2021-10-01 12:25:32 +02:00