From f75baa0990fce4fb51281e01b4a1ec2326231a47 Mon Sep 17 00:00:00 2001 From: foglar Date: Sat, 4 Jan 2025 11:02:26 +0100 Subject: [PATCH] update name of the package --- README.md | 1 - flake.nix | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f869e3e..ffc8212 100644 --- a/README.md +++ b/README.md @@ -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" ``` - diff --git a/flake.nix b/flake.nix index 46b85ef..d949527 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; }); };