nixpkgs/pkgs/servers/web-apps
Philip Munksgaard 897d5670a3
livebook: Use mix release to build instead of escript
The current build of livebook does not work with the new [Livebook
Teams](https://livebook.dev/teams/) features. The problem can be observed by
running the current version of livebook, adding a new team and going to the team
page. The process will crash and the team page will show a 500 error.

The base of the problem is that the escript build method is not officially
supported. This commit changes the livebook package to use the `mix release`
workflow, which is also the one used to build the official Docker container.

Unfortunately, the binary built with `mix release` does not support command line
arguments like the `escript` binary does. Instead, users need to pass in most of
the configuration as environment variables, as documented
[here](https://hexdocs.pm/livebook/readme.html#environment-variables). As a
result, this commit also changes the Livebook service to reflect this new way of
configuring Livebook.

Finally, the Livebook release configuration specifically excludes the
ERTS (Erlang Runtime System), which means that the resulting release cannot run
without Erlang installed.

I have tested the results (both of the package and the service) locally.
2024-01-26 20:19:46 +01:00
..
5etools
anuko-time-tracker
bookstack bookstack: 23.08.3 -> 23.12.1 2024-01-17 09:43:14 +01:00
changedetection-io changedetection-io: 0.45.8.1 -> 0.45.9 2023-12-21 00:43:01 +01:00
discourse Merge pull request #271362 from pbsds/rm-dead-patches 2023-12-06 03:28:15 +01:00
dokuwiki
dolibarr dolibarr: remove myself from maintainers 2024-01-22 14:54:30 +01:00
engelsystem engelsystem: 3.4.0 -> 3.4.1 2023-12-17 08:51:08 +00:00
ethercalc
fileshelter
freshrss freshrss: 1.23.0 -> 1.23.1 2023-12-31 12:19:15 +00:00
galene galene: 0.7.2 -> 0.8 2023-11-30 06:31:13 +00:00
healthchecks
hedgedoc
invoiceplane invoiceplane: 1.6.0 -> 1.6.1 2023-12-17 09:06:32 +00:00
jirafeau
jitsi-meet jitsi-meet: 1.0.7658 -> 1.0.7712 2024-01-01 08:09:20 +00:00
kasmweb
kavita
lemmy maintainers: Remove adisbladis as maintainer from various packages 2023-12-27 23:13:50 +13:00
linx-server
livebook livebook: Use mix release to build instead of escript 2024-01-26 20:19:46 +01:00
matomo matomo-beta: 5.0.0-rc3 -> 5.0.0-rc9 2023-12-15 23:04:19 +01:00
mediawiki mediawiki: 1.40.1 -> 1.41.0 2023-12-22 05:01:39 +00:00
meme-bingo-web
monica
moodle moodle: 4.3.1 -> 4.3.2 2023-12-28 10:43:31 +00:00
morty
netbox netbox_3_6: mark as EOL 2024-01-22 16:31:46 +01:00
nifi nifi: 1.23.2 -> 1.24.0 2023-12-01 10:33:34 +00:00
outline outline: 0.73.1 -> 0.74.0 (#275007) 2024-01-15 02:31:14 +04:00
peering-manager
pgpkeyserver-lite
phylactery
pict-rs pict-rs: 0.5.0 -> 0.5.1 2024-01-20 03:36:45 +00:00
pixelfed
plausible
restya-board
rss-bridge
selfoss
shaarli shaarli: 0.12.2 -> 0.13.0 2023-12-23 08:33:13 +00:00
shiori
slskd slskd: 0.18.2 -> 0.19.5 2024-01-17 05:28:02 +01:00
snipe-it
sogo sogo: 5.9.0 -> 5.9.1 2023-12-23 11:42:55 +00:00
vikunja vikunja-api, vikunja-frontend: 0.20.4 -> 0.22.0 2023-12-20 10:25:52 +01:00
wallabag wallabag: 2.6.7 -> 2.6.8 2024-01-04 23:31:54 -08:00
whitebophir
wiki-js
wordpress wordpressPackages.plugins.simple-mastodon-verification: init at 1.1.3 2023-12-23 12:15:38 +01:00