cabal-desktop icon indicating copy to clipboard operation
cabal-desktop copied to clipboard

add nix electron and webkit2-launcher support

Open tansiret opened this issue 5 years ago • 7 comments

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

  • Webkit2-Launcher is a plain webkitgtk viewer that we maintain at Mercode, which is very easy-to-use.

tansiret avatar May 15 '20 22:05 tansiret

@Yutyo would this help you use cabal-desktop on nix?

cblgh avatar May 16 '20 07:05 cblgh

@Yutyo would this help you use cabal-desktop on nix?

Yes + webkit2-launcher is a good, quick tool.

tansiret avatar May 16 '20 08:05 tansiret

sounds ok for me, yr call @nikolaiwarner :3

cblgh avatar May 17 '20 17:05 cblgh

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?

nikolaiwarner avatar May 21 '20 01:05 nikolaiwarner

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?

@nikolaiwarner @cblgh done.

tansiret avatar May 21 '20 22:05 tansiret

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?

nikolaiwarner avatar Jun 07 '20 20:06 nikolaiwarner

~~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

bbigras avatar Jul 15 '20 05:07 bbigras