about summary refs log tree commit diff
path: root/pkgs/by-name/gi/git-gr/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gi/git-gr/package.nix')
-rw-r--r--pkgs/by-name/gi/git-gr/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/gi/git-gr/package.nix b/pkgs/by-name/gi/git-gr/package.nix
index 96a03ed49e94..a50d389c04d0 100644
--- a/pkgs/by-name/gi/git-gr/package.nix
+++ b/pkgs/by-name/gi/git-gr/package.nix
@@ -35,11 +35,11 @@ rustPlatform.buildRustPackage {
 
   nativeBuildInputs =
     [installShellFiles]
-    ++ lib.optional stdenv.isLinux pkg-config;
+    ++ lib.optional stdenv.hostPlatform.isLinux pkg-config;
 
   buildInputs =
-    lib.optional stdenv.isLinux openssl
-    ++ lib.optionals stdenv.isDarwin [
+    lib.optional stdenv.hostPlatform.isLinux openssl
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       libiconv
       darwin.apple_sdk.frameworks.CoreServices
       darwin.apple_sdk.frameworks.SystemConfiguration