1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/editors/emacs-modes/emacs2nix.nix

24 lines
405 B
Nix
Raw Normal View History

let
pkgs = import ../../../.. { };
src = pkgs.fetchgit {
url = "https://github.com/ttuegel/emacs2nix.git";
fetchSubmodules = true;
rev = "752fe1bd891425cb7a4a53cd7b98c194c1fe4518";
sha256 = "0asfdswh8sbnapbqhbz539zzxmv72f1iviha95iys34sgnd5k1nk";
};
in pkgs.mkShell {
buildInputs = [
pkgs.bash
];
2019-09-09 00:38:31 +01:00
EMACS2NIX = src;
shellHook = ''
export PATH=$PATH:${src}
'';
}