bhougland18

bhougland18

Livebook install on Nixos using Devenv

I am trying to install Livebook on Nixos using the escript method, and am getting the following error:

livebook server
/usr/bin/env: ‘escript’: No such file or directory. I apologize in advance, I am a new Elixir user

I followed the instructions an added the escripts directory to my path in Fish shell, but it is still unable to find the path. I have a feeling it is due to my development shell Devenv (www.devenv.sh). However, before I go down that rabbit hole I wanted to check here first and see if this might not be an easy fix.

Thank you!

Most Liked

hauleth

hauleth

I have created Nix Flake for Livebook if you are interested. This Flake takes care of all dependencies that you would need

https://github.com/hauleth/nix-elixir

I plan on expanding it with more OTP-related projects to be more like Fenix but for OTP related stuff.

bhougland18

bhougland18

Starred this repository. It is my goal to move my NixOS config to a flake very soon based on this video: https://www.youtube.com/watch?v=mJbQ--iBc1U

Thanks for the info!

samrose

samrose

This one works thanks @hauleth I used your work as the basis for a flox version too https://github.com/flox-examples/livebook

Last Post!

samrose

samrose

I posted the wrong link earlier, this is where we had used your example to create a “flox” based example. thanks again for these clues https://github.com/flox-examples/flox-livebook

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36654 110
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement