Files

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

28 lines
531 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
runCommand,
emacs,
git,
}:
runCommand "test-emacs-withPackages-wrapper"
{
nativeBuildInputs = [
(emacs.pkgs.withPackages (
epkgs: with epkgs; [
magit
flx-ido
]
))
git # needed by magit
];
}
''
emacs --batch --eval="(require 'magit)"
emacs --batch --eval="(require 'flx-ido)"
# transitive dependencies should be made available
# https://github.com/NixOS/nixpkgs/issues/388829
emacs --batch --eval="(require 'flx)"
touch $out
''