Files
clan-core/pkgs/tea-create-pr/default.nix
DavHau b13081a84c tea-create-pr: get rid of runtime nix eval
...instead use our treefmt wrapper derivation which is exactly the same
but doesn't require an eval at runtime
2024-09-06 15:46:15 +02:00

25 lines
346 B
Nix

{
writeShellApplication,
bash,
coreutils,
git,
tea,
openssh,
# our formatter
formatter,
}:
writeShellApplication {
name = "tea-create-pr";
runtimeInputs = [
bash
coreutils
git
tea
openssh
# our treefmt formatter wrapped with correct config
formatter
];
text = builtins.readFile ./script.sh;
}