about summary refs log tree commit diff
path: root/pkgs/by-name/ds/dssat/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ds/dssat/package.nix')
-rw-r--r--pkgs/by-name/ds/dssat/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ds/dssat/package.nix b/pkgs/by-name/ds/dssat/package.nix
index 7d57195dcde4..4b40302c415d 100644
--- a/pkgs/by-name/ds/dssat/package.nix
+++ b/pkgs/by-name/ds/dssat/package.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation (final: {
     makeWrapper
   ];
 
-  buildInputs = lib.optionals stdenv.isLinux [ glibc.static ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ glibc.static ];
 
   cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/share/dssat/" ];
 
@@ -69,6 +69,6 @@ stdenv.mkDerivation (final: {
     license = lib.licenses.bsd3;
     maintainers = with lib.maintainers; [ pcboy ];
     platforms = lib.platforms.unix;
-    broken = stdenv.isAarch64 && stdenv.isLinux;
+    broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux;
   };
 })