Files
clan-core/flake-parts/merge-after-ci/default.nix

28 lines
479 B
Nix

{
perSystem =
{ pkgs
, self'
, ...
}:
let
name = builtins.baseNameOf ./.;
script = pkgs.writeShellApplication {
inherit name;
runtimeInputs = [
pkgs.bash
pkgs.coreutils
pkgs.git
pkgs.tea
pkgs.openssh
self'.packages.tea-create-pr
];
text = ''
bash ${./script.sh} "$@"
'';
};
in
{
packages.${name} = script;
};
}