about summary refs log tree commit diff
path: root/pkgs/by-name/hp
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/hp')
-rw-r--r--pkgs/by-name/hp/hpipm/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/hp/hpipm/package.nix b/pkgs/by-name/hp/hpipm/package.nix
index a33efcc43677..88899d752b91 100644
--- a/pkgs/by-name/hp/hpipm/package.nix
+++ b/pkgs/by-name/hp/hpipm/package.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
   cmakeFlags = [
     "-DHPIPM_FIND_BLASFEO=ON"
     "-DBUILD_SHARED_LIBS=ON"
-  ] ++ lib.optionals (!stdenv.isx86_64) [ "-DTARGET=GENERIC" ];
+  ] ++ lib.optionals (!stdenv.hostPlatform.isx86_64) [ "-DTARGET=GENERIC" ];
 
   meta = {
     description = "High-performance interior-point-method QP and QCQP solvers";