mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
24 lines
409 B
Nix
24 lines
409 B
Nix
let
|
|
pkgs = import ../../../../.. { };
|
|
|
|
src = pkgs.fetchgit {
|
|
url = "https://github.com/nix-community/emacs2nix.git";
|
|
fetchSubmodules = true;
|
|
rev = "703b144eeb490e87133c777f82e198b4e515c312";
|
|
sha256 = "sha256-YBbRh/Cb8u9+Pn6/Bc0atI6knKVjr8jiTGgFkD2FNGI=";
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
|
|
packages = [
|
|
pkgs.bash
|
|
];
|
|
|
|
EMACS2NIX = src;
|
|
|
|
shellHook = ''
|
|
export PATH=$PATH:${src}
|
|
'';
|
|
|
|
}
|