From a71c7c601e23726bbd7b23eb6b5f79c6f5f46282 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Sun, 1 Mar 2026 13:45:20 -0500 Subject: [PATCH] home-environment: revert use nix profile add instead of install This reverts commit e8d5fc77c212eea1f0b18648ce48e84df2eb5c4c. --- modules/home-environment.nix | 4 ++-- tests/integration/standalone/flake-basics.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 76bc9241..4f4904c7 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -712,11 +712,11 @@ in nixProfileRemove 'home-manager-path' - run $oldNix profile add $1 + run $oldNix profile install $1 } if [[ -e ${cfg.profileDirectory}/manifest.json ]] ; then - INSTALL_CMD="nix profile add" + INSTALL_CMD="nix profile install" INSTALL_CMD_ACTUAL="nixReplaceProfile" LIST_CMD="nix profile list" REMOVE_CMD_SYNTAX='nix profile remove {number | store path}' diff --git a/tests/integration/standalone/flake-basics.nix b/tests/integration/standalone/flake-basics.nix index 51424aca..137b2a25 100644 --- a/tests/integration/standalone/flake-basics.nix +++ b/tests/integration/standalone/flake-basics.nix @@ -54,7 +54,7 @@ # Make sure that Alice has a "nix profile" compatible profile. if True: - succeed_as_alice("nix profile add nixpkgs#cowsay") + succeed_as_alice("nix profile install nixpkgs#cowsay") result = succeed_as_alice("cowsay Hello") machine.log(f"\n{result}")