nixpkgs/pkgs/applications/editors/emacs/elisp-packages/emacs2nix.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
409 B
Nix
Raw Normal View History

let
pkgs = import ../../../../.. { };
src = pkgs.fetchFromGitHub {
owner = "nix-community";
repo = "emacs2nix";
2023-06-14 17:49:41 +00:00
rev = "e5389c3d7be9c3af135f022d86c61767d41c364f";
sha256 = "sha256-mueyrGXgbjvmXQqPRuLUJdJuB5dqiGGdzCQ74Ud+Z9Y=";
fetchSubmodules = true;
};
in
pkgs.mkShell {
packages = [
pkgs.bash
];
2019-09-08 23:38:31 +00:00
EMACS2NIX = src;
shellHook = ''
export PATH=$PATH:${src}
'';
}