about summary refs log tree commit diff
path: root/pkgs/tools/text/glogg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/glogg/default.nix')
-rw-r--r--pkgs/tools/text/glogg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/glogg/default.nix b/pkgs/tools/text/glogg/default.nix
index 7a6562aab143..04aac6b0b871 100644
--- a/pkgs/tools/text/glogg/default.nix
+++ b/pkgs/tools/text/glogg/default.nix
@@ -11,7 +11,7 @@ mkDerivation rec {
     sha256 = "0hf1c2m8n88frmxmyn0ndr8129p7iky49nq565sw1asaydm5z6pb";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace glogg.pro \
       --replace "boost_program_options-mt" "boost_program_options"
   '';
@@ -21,7 +21,7 @@ mkDerivation rec {
 
   qmakeFlags = [ "VERSION=${version}" ];
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/Applications
     mv $out/bin/glogg.app $out/Applications/glogg.app
     rm -fr $out/{bin,share}