Skip to content

Commit

Permalink
Swap to a local clone of the emacs nix-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Jan 11, 2019
1 parent 7e9bf54 commit 8e81968
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ let
nix-mode-overrides = {
none = x: {};

local-clone = oldAttrs: {
src = /home/grahamc/projects/nixos/nix-mode;
};

master-floating = oldAttrs: {
src = builtins.fetchGit {
url = "https://github.com/nixos/nix-mode.git";
Expand All @@ -21,6 +25,14 @@ let
};
};

master-2019-01-07 = oldAttrs: {
src = builtins.fetchGit {
url = "https://github.com/nixos/nix-mode.git";
ref = "master";
rev = "54ef83310095689443c2371a312cc8687af6cbb9";
};
};

ldlwork = oldAttrs: {
src = builtins.getchGit {
url = "https://github.com/dustinlacewell/nix-mode.git";
Expand All @@ -43,7 +55,7 @@ emacsPackagesNg.emacsWithPackages (epkgs: (
editorconfig
elm-mode
erlang
(nix-mode.overrideAttrs nix-mode-overrides.master-2019-01-03)
(nix-mode.overrideAttrs nix-mode-overrides.local-clone)#.master-2019-01-07)
markdown-mode
yaml-mode
rust-mode
Expand Down

0 comments on commit 8e81968

Please sign in to comment.