Skip to content

Instantly share code, notes, and snippets.

@yorickvP
Last active July 14, 2019 12:39
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 yorickvP/bbd3baf19b70d96a155767c96af5b14c to your computer and use it in GitHub Desktop.
Save yorickvP/bbd3baf19b70d96a155767c96af5b14c to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
with emacsPackagesNg;
melpaBuild {
pname = "nix-mode";
version = "1.4.0";
recipe = writeText "recipe" ''
(nix-mode
:repo "nixos/nix-mode" :fetcher github
:files ("nix*.el"))
'';
packageRequires = [ json-mode mmm-mode company ];
src = fetchFromGitHub {
owner = "nixos";
repo = "nix-mode";
rev = "ddf091708b9069f1fe0979a7be4e719445eed918";
sha256 = "0s8ljr4d7kys2xqrhkvj75l7babvk60kxgy4vmyqfwj6xmcxi3ad";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment