Open guillemcordoba opened 5 months ago
Hmm...okay. You can always run the CLI from the AppImage that's just not using the latest version.
It looks like electron is available as a NixOS package so there would probably be a way to run it that way. Maybe I could just add a flag to the CLI to use a global electron binary and you can add the electron binary to the flake.nix?
If you update to @lightningrodlabs/we-dev-cli@0.11.4
you can add the ELECTRON_BINARY
environment variable, e.g.
ELECTRON_BINARY=my/electron/binary/from/nix/package we-dev-cli [...]
Exactly the right approach, thanks @matthme
When I try to run
we-dev-cli
on NixOS, I get this error:This is because NixOS does not allow non-nix executables to be run. I don't really know what would be the best approach here...
For now I guess I can test using my ubuntu laptop.