about summary refs log tree commit diff
path: root/pkgs/tools/security/adreaper/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/adreaper/default.nix')
-rw-r--r--pkgs/tools/security/adreaper/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/adreaper/default.nix b/pkgs/tools/security/adreaper/default.nix
index 873760250618..4e7c554e9164 100644
--- a/pkgs/tools/security/adreaper/default.nix
+++ b/pkgs/tools/security/adreaper/default.nix
@@ -17,7 +17,7 @@ buildGoModule rec {
 
   vendorHash = "sha256-lU39kj/uz0l7Rodsu6+UMv2o579eu1KUbutUNZni7bM=";
 
-  postInstall = lib.optionalString (!stdenv.isDarwin) ''
+  postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
     mv $out/bin/ADReaper $out/bin/$pname
   '';