nixpkgs/nixos/doc/manual
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
..
administration Merge pull request #241953 from MultisampledNight/doc/fix-outdated-containers 2024-01-18 16:06:08 +01:00
configuration Merge master into staging-next 2024-01-25 00:02:13 +00:00
development doc: Update manuals bespoke syntax 2024-01-25 16:33:35 +01:00
installation Merge pull request #263794 from Mic92/more-dd-flags 2024-01-14 13:29:09 +01:00
release-notes livebook: Use mix release to build instead of escript 2024-01-26 20:19:46 +01:00
common.nix nixos manual: extract some build paths 2023-07-25 17:03:12 +07:00
contributing-to-this-manual.chapter.md doc: Update manuals bespoke syntax 2024-01-25 16:33:35 +01:00
default.nix nixos/doc: small rephrase in documentation of documentation 2023-08-16 06:24:37 +00:00
manual.md nixos/manual: render html with nixos-render-doc if !allowDocBook 2023-02-21 18:26:41 +01:00
nixos-options.md nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
preface.md manual: fix matrix room link (#231523) 2023-05-12 18:55:19 -04:00
README.md
shell.nix nixpkgs/NixOS manuals: devmode feature 2023-07-25 17:03:15 +07:00