Created
April 15, 2020 06:16
-
-
Save srhb/f2af4c7e046838f0df6bcd2eb24509ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
myEmacs = pkgs.emacs; | |
overrides = self: super: { | |
flymake = super.flymake.override { | |
elpaBuild = args: super.elpaBuild (args // { | |
src = (builtins.fetchGit { | |
url = "[email protected]:flymake/emacs-flymake.git"; | |
rev = "8701c806d5e8f4e2c6f7dea461273482ad89c029"; | |
ref = "master"; | |
}) + "/flymake.el"; | |
}); | |
}; | |
}; | |
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