Skip to content

Instantly share code, notes, and snippets.

@srhb
Created April 15, 2020 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srhb/af60d32b1cf8cc21b20957726ba45f81 to your computer and use it in GitHub Desktop.
Save srhb/af60d32b1cf8cc21b20957726ba45f81 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
let
myEmacs = pkgs.emacs;
overrides = self: super: {
flymake = super.flymake.overrideAttrs (oa: {
src = builtins.fetchGit {
url = "git@github.com:flymake/emacs-flymake.git";
rev = "8701c806d5e8f4e2c6f7dea461273482ad89c029";
ref = "master";
};
});
};
emacsWithPackages = ((pkgs.emacsPackagesGen myEmacs).overrideScope' overrides).emacsWithPackages;
in
emacsWithPackages (p: with p; [
haskellMode
eglot
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment