home-environment: use nix profile add instead of install
nix profile install was renamed to nix profile add in Nix 2.28. The old name still works as a deprecated alias but produces a warning on every home-manager switch: warning: 'install' is a deprecated alias for 'add' Signed-off-by: Bart Smykla <bartek@smykla.com>
This commit is contained in:
parent
603626a8da
commit
e8d5fc77c2
2 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@
|
|||
|
||||
# Make sure that Alice has a "nix profile" compatible profile.
|
||||
if True:
|
||||
succeed_as_alice("nix profile install nixpkgs#cowsay")
|
||||
succeed_as_alice("nix profile add nixpkgs#cowsay")
|
||||
result = succeed_as_alice("cowsay Hello")
|
||||
machine.log(f"\n{result}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue