about summary refs log tree commit diff
path: root/pkgs/applications/office/treesheets/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/treesheets/default.nix')
-rw-r--r--pkgs/applications/office/treesheets/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/office/treesheets/default.nix b/pkgs/applications/office/treesheets/default.nix
index b52dc1dc835f..a696ab541280 100644
--- a/pkgs/applications/office/treesheets/default.nix
+++ b/pkgs/applications/office/treesheets/default.nix
@@ -30,13 +30,13 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     wxGTK
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa
   ];
 
   env.NIX_CFLAGS_COMPILE = "-DPACKAGE_VERSION=\"${builtins.replaceStrings [ "unstable-" ] [ "" ] version}\"";
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     shopt -s extglob
     mkdir -p $out/{share/treesheets,bin}
     mv $out/!(share) $out/share/treesheets