update name of the package

This commit is contained in:
foglar 2025-01-04 11:02:26 +01:00
parent c0f162b4ea
commit f75baa0990
2 changed files with 6 additions and 7 deletions

View File

@ -9,4 +9,3 @@ nix-shell -p git --command "nix run --experimental-features 'nix-command flakes'
# or
nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' git+https://git.foglar.tech/foglar/dotfiles.git"
```

View File

@ -20,10 +20,10 @@
packages = forAllSystems (system: let
pkgs = nixpkgsFor.${system};
in {
default = self.packages.${system}.install;
default = self.packages.${system}.nix-install;
install = pkgs.writeShellApplication {
name = "install";
nix-install = pkgs.writeShellApplication {
name = "nix-install";
runtimeInputs = with pkgs; [git busybox gum];
text = ''
${./install.sh} "$@"
@ -32,11 +32,11 @@
});
apps = forAllSystems (system: {
default = self.apps.${system}.install;
default = self.apps.${system}.nix-install;
install = {
nix-install = {
type = "app";
program = "${self.packages.${system}.install}/bin/install";
program = "${self.packages.${system}.nix-install}/bin/nix-install";
};
});
};