This repository has been archived on 2024-10-30. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/diff-closures/default.nix

20 lines
493 B
Nix

{inputs, ...}: {
perSystem = {
pkgs,
self',
...
}: {
packages.diff-closures = pkgs.writeShellApplication {
name = "diff-closures";
runtimeInputs = [ pkgs.ansifilter ];
text = ''
nix store diff-closures --derivation \
github:aciceri/emacs/master#ccrEmacs \
"${inputs.self}#ccrEmacs" \
| ansifilter --text
'';
};
apps.diff-closures.program = "${self'.packages.diff-closures}/bin/diff-closures";
};
}