fix: wrap writeShellApplication
This commit is contained in:
parent
ad9ac18c18
commit
75f89c0edf
@ -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;
|
||||||
};
|
});
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user