nixpkgs/pkgs/applications/editors/emacs-modes/emacs2nix.nix
Alyssa Ross 1fe24de3a2
emacs2nix: update to add trailing newline
Files generated by emacs2nix will now end in a final newline, as is
now required by the Nixpkgs editorconfig-checker CI action.
See <https://github.com/ttuegel/emacs2nix/pull/51>.
2020-12-13 16:24:12 +00:00

24 lines
405 B
Nix

let
pkgs = import ../../../.. { };
src = pkgs.fetchgit {
url = "https://github.com/ttuegel/emacs2nix.git";
fetchSubmodules = true;
rev = "798542b34dc8d7f5c110119350bd9bafef9f8439";
sha256 = "1lna9z90sxjnanggjh2si018cfzp60xsrissnv9bbkc8wish1537";
};
in pkgs.mkShell {
buildInputs = [
pkgs.bash
];
EMACS2NIX = src;
shellHook = ''
export PATH=$PATH:${src}
'';
}