summary refs log tree commit diff
path: root/pkgs/applications/editors/typora/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/typora/default.nix')
-rw-r--r--pkgs/applications/editors/typora/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/typora/default.nix b/pkgs/applications/editors/typora/default.nix
index 93ee70e4148b..0bff4864c612 100644
--- a/pkgs/applications/editors/typora/default.nix
+++ b/pkgs/applications/editors/typora/default.nix
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
   version = "0.9.53";
 
   src =
-    if stdenv.system == "x86_64-linux" then
+    if stdenv.hostPlatform.system == "x86_64-linux" then
       fetchurl {
         url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
         sha256 = "02k6x30l4mbjragqbq5rn663xbw3h4bxzgppfxqf5lwydswldklb";