...instead use our treefmt wrapper derivation which is exactly the same but doesn't require an eval at runtime
25 lines
346 B
Nix
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;
|
|
}
|