cabal-desktop
cabal-desktop copied to clipboard
add nix electron and webkit2-launcher support
Electron for Nix
- In NixOS, electron doesn't run normally so it needs to be run by a nix based command. So I have added a special command in package.json for that.
- Webkit2-Launcher is a plain webkitgtk viewer that we maintain at Mercode, which is very easy-to-use.
@Yutyo would this help you use cabal-desktop on nix?
@Yutyo would this help you use cabal-desktop on nix?
Yes + webkit2-launcher is a good, quick tool.
sounds ok for me, yr call @nikolaiwarner :3
hi @Yutyo! Could you modify this so that the new scripts are not included with the other "start:..." scripts? Otherwise the nix scripts will run on all platforms with yarn start. Maybe yarn run:nix or something?
hi @Yutyo! Could you modify this so that the new scripts are not included with the other "start:..." scripts? Otherwise the nix scripts will run on all platforms with
yarn start. Maybeyarn run:nixor something?
@nikolaiwarner @cblgh done.
Hi @Yutyo! Sorry for the delay in responding. I'm not familiar with NixOS. Do you think you could add some documentation to the readme for those who use NixOS to help them get started and so we can remember what those scripts do?
~~I'm trying this on Nix but it's stuck on the "Initializing..." initial loading screen.~~
~~Any ideas?~~
EDIT: I opened a separae issue for that https://github.com/cabal-club/cabal-desktop/issues/274