[CI] Testing flake-update showing dynamic contents

This commit is contained in:
Andrea Ciceri 2023-03-09 00:23:02 +01:00
parent a412295c6d
commit fcd3b8be20
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
7 changed files with 61 additions and 19 deletions

20
diff-closures/default.nix Normal file
View 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";
};
}