Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Run ghcide under a nix-shell (or any other shell) #4

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

moodmosaic
Copy link
Owner

Resolves #3 — /cc @regnat @fredericcogny

Copy link

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

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

I tested this locally, works like a charm, thanks.

The only (very minor) annoyance is that ghcide doesn't restart if we change the command. I don't know whether there's an easy way to do that in atom (it's not a big deal anyways as there's probably no need to change this too often, so restarting atom is totally affordable in this case)

@moodmosaic
Copy link
Owner Author

The only (very minor) annoyance is that ghcide doesn't restart if we change the command.

True, but maybe we can add some commands for it, e.g.

ghcide:stop
ghcide:start

Though I'm not sure how reliable that will be. — Restarting Atom is usually fast, specially if you disable a bunch of stuff you might not need (YMMV), for example:

"*":
  core:
    disabledPackages: [
      "archive-view"
      "autoflow"
      "background-tips"
      "exception-reporting"
      "github"
      "image-view"
      "link"
      "metrics"
      "open-on-github"
      "spell-check"
      "welcome"
    ]
    telemetryConsent: "limited"
    uriHandlerRegistration: "never"
  welcome:
    showOnStartup: false

@moodmosaic
Copy link
Owner Author

I tested this locally, works like a charm, thanks.

Thank you! 🎉

@moodmosaic moodmosaic merged commit 5272cf0 into master Jun 9, 2020
@moodmosaic moodmosaic deleted the topic/nix-shell branch June 9, 2020 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run ghcide under a nix shell
2 participants