fix(home): replace deprecated stdenv.is* with hostPlatform.is*

This commit is contained in:
Ryan Yin
2026-08-24 00:33:22 +08:00
parent 3c361f316f
commit 7cba098b07
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -10,6 +10,6 @@
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
programs.google-chrome = {
enable = true;
package = if pkgs.stdenv.isAarch64 then pkgs.chromium else pkgs.google-chrome;
package = if pkgs.stdenv.hostPlatform.isAarch64 then pkgs.chromium else pkgs.google-chrome;
};
}