mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
24 lines
404 B
Nix
24 lines
404 B
Nix
let
|
|
pkgs = import ../../../../.. { };
|
|
|
|
src = pkgs.fetchgit {
|
|
url = "https://github.com/ttuegel/emacs2nix.git";
|
|
fetchSubmodules = true;
|
|
rev = "860da04ca91cbb69c9b881a54248d16bdaaf9923";
|
|
sha256 = "1r3xmyk9rfgx7ln69dk8mgbnh3awcalm3r1c5ia2shlsrymvv1df";
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
|
|
packages = [
|
|
pkgs.bash
|
|
];
|
|
|
|
EMACS2NIX = src;
|
|
|
|
shellHook = ''
|
|
export PATH=$PATH:${src}
|
|
'';
|
|
|
|
}
|