about summary refs log tree commit diff
path: root/pkgs/by-name/do/dogedns/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/do/dogedns/package.nix')
-rw-r--r--pkgs/by-name/do/dogedns/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/do/dogedns/package.nix b/pkgs/by-name/do/dogedns/package.nix
index 0c94a9506d2c..c6afe1ab7822 100644
--- a/pkgs/by-name/do/dogedns/package.nix
+++ b/pkgs/by-name/do/dogedns/package.nix
@@ -29,9 +29,9 @@ rustPlatform.buildRustPackage rec {
   ];
 
   nativeBuildInputs = [ installShellFiles pandoc ]
-    ++ lib.optionals stdenv.isLinux [ pkg-config ];
-  buildInputs = lib.optionals stdenv.isLinux [ openssl ]
-    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
+    ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ];
 
  postInstall = ''
     installShellCompletion completions/doge.{bash,fish,zsh}