Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nix electron and webkit2-launcher support #245

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tansiret
Copy link

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.

@cblgh
Copy link
Member

cblgh commented May 16, 2020

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

@tansiret
Copy link
Author

tansiret commented May 16, 2020

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

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

@cblgh
Copy link
Member

cblgh commented May 17, 2020

sounds ok for me, yr call @nikolaiwarner :3

@nikolaiwarner
Copy link
Member

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?

@tansiret
Copy link
Author

tansiret commented May 21, 2020

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 tansiret mentioned this pull request May 22, 2020
Copy link
Member

@todrobbins todrobbins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikolaiwarner
Copy link
Member

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?

@bbigras
Copy link

bbigras commented Jul 15, 2020

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 #274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants