about summary refs log tree commit diff
path: root/pkgs/applications/graphics/antimony/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/antimony/default.nix')
-rw-r--r--pkgs/applications/graphics/antimony/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix
index d39961da9077..b55e6a8a5bb0 100644
--- a/pkgs/applications/graphics/antimony/default.nix
+++ b/pkgs/applications/graphics/antimony/default.nix
@@ -28,7 +28,7 @@ in
        sed -i "s,python3,${python3.executable}," CMakeLists.txt
     '';
 
-    postInstall = lib.optionalString stdenv.isLinux ''
+    postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
       install -Dm644 $src/deploy/icon.svg $out/share/icons/hicolor/scalable/apps/antimony.svg
       install -Dm644 ${./mimetype.xml} $out/share/mime/packages/antimony.xml
     '';