mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
25 lines
409 B
Nix
25 lines
409 B
Nix
let
|
|
pkgs = import ../../../../.. { };
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = "emacs2nix";
|
|
rev = "2e8d2c644397be57455ad32c2849f692eeac7797";
|
|
sha256 = "sha256-qnOYDYHAQ+r5eegKP9GqHz5R2ig96B2W7M+uYa1ti9M=";
|
|
fetchSubmodules = true;
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
|
|
packages = [
|
|
pkgs.bash
|
|
];
|
|
|
|
EMACS2NIX = src;
|
|
|
|
shellHook = ''
|
|
export PATH=$PATH:${src}
|
|
'';
|
|
|
|
}
|