nixpkgs/pkgs/applications/editors/emacs/elisp-packages/emacs2nix.nix
2023-06-15 01:10:27 +00:00

25 lines
409 B
Nix

let
pkgs = import ../../../../.. { };
src = pkgs.fetchFromGitHub {
owner = "nix-community";
repo = "emacs2nix";
rev = "e5389c3d7be9c3af135f022d86c61767d41c364f";
sha256 = "sha256-mueyrGXgbjvmXQqPRuLUJdJuB5dqiGGdzCQ74Ud+Z9Y=";
fetchSubmodules = true;
};
in
pkgs.mkShell {
packages = [
pkgs.bash
];
EMACS2NIX = src;
shellHook = ''
export PATH=$PATH:${src}
'';
}