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
@@ -24,7 +24,7 @@
"${pkgs.nixpaks.telegram-desktop}/share/applications/org.telegram.desktop.desktop"
]
++ (
if pkgs.stdenv.isx86_64 then
if pkgs.stdenv.hostPlatform.isx86_64 then
[ "${pkgs.google-chrome}/share/applications/google-chrome.desktop" ]
else
[ "${pkgs.chromium}/share/applications/chromium-browser.desktop" ]