fix: wrap writeShellApplication

This commit is contained in:
trev 2025-04-17 22:02:50 -04:00
parent ad9ac18c18
commit 75f89c0edf

View File

@ -166,7 +166,7 @@
apps = forSystem ({pkgs, ...}: { apps = forSystem ({pkgs, ...}: {
update = { update = {
type = "app"; type = "app";
program = pkgs.lib.getExe pkgs.writeShellApplication { program = pkgs.lib.getExe (pkgs.writeShellApplication {
name = "update"; name = "update";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
git git
@ -176,12 +176,12 @@
nix-update nix-update
]; ];
text = builtins.readFile ./.scripts/update.sh; text = builtins.readFile ./.scripts/update.sh;
}; });
}; };
bump = { bump = {
type = "app"; type = "app";
program = pkgs.lib.getExe pkgs.writeShellApplication { program = pkgs.lib.getExe (pkgs.writeShellApplication {
name = "bump"; name = "bump";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
git git
@ -189,7 +189,7 @@
nix-update nix-update
]; ];
text = builtins.readFile ./.scripts/bump.sh; text = builtins.readFile ./.scripts/bump.sh;
}; });
}; };
}); });