[CI] Testing flake-update
showing dynamic contents
This commit is contained in:
parent
a412295c6d
commit
fcd3b8be20
7 changed files with 61 additions and 19 deletions
20
diff-closures/default.nix
Normal file
20
diff-closures/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{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";
|
||||
};
|
||||
}
|
Reference in a new issue