merge-after-ci: init

This commit is contained in:
DavHau
2023-07-28 15:03:06 +02:00
parent 60ba233e77
commit dc09453617
4 changed files with 48 additions and 11 deletions

View File

@@ -0,0 +1,28 @@
{
perSystem =
{ config
, pkgs
, self'
, ...
}:
let
name = builtins.baseNameOf ./.;
script = config.writers.writePureShellScriptBin
name
[
pkgs.bash
pkgs.coreutils
pkgs.git
pkgs.tea
pkgs.openssh
self'.packages.tea-create-pr
]
''
export EDITOR=${pkgs.vim}/bin/vim
bash ${./script.sh} "$@"
'';
in
{
packages.${name} = script;
};
}