3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/emacs/elisp-packages/emacs2nix.nix

24 lines
409 B
Nix
Raw Normal View History

let
pkgs = import ../../../../.. { };
src = pkgs.fetchgit {
2021-07-21 21:04:56 +01:00
url = "https://github.com/nix-community/emacs2nix.git";
fetchSubmodules = true;
2021-10-05 21:21:15 +01:00
rev = "2e8d2c644397be57455ad32c2849f692eeac7797";
sha256 = "sha256-qnOYDYHAQ+r5eegKP9GqHz5R2ig96B2W7M+uYa1ti9M=";
};
in
pkgs.mkShell {
packages = [
pkgs.bash
];
2019-09-09 00:38:31 +01:00
EMACS2NIX = src;
shellHook = ''
export PATH=$PATH:${src}
'';
}