mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-28 05:53:57 +02:00
fix(home): replace deprecated stdenv.is* with hostPlatform.is*
This commit is contained in:
@@ -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" ]
|
||||
|
||||
Reference in New Issue
Block a user