diff options
Diffstat (limited to 'pkgs/by-name/os/osqp-eigen/package.nix')
-rw-r--r-- | pkgs/by-name/os/osqp-eigen/package.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/os/osqp-eigen/package.nix b/pkgs/by-name/os/osqp-eigen/package.nix index 935bb0bfa659..016fbe8b0aca 100644 --- a/pkgs/by-name/os/osqp-eigen/package.nix +++ b/pkgs/by-name/os/osqp-eigen/package.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_TESTING" true) - (lib.cmakeBool "OSQPEIGEN_RUN_Valgrind_tests" stdenv.isLinux) + (lib.cmakeBool "OSQPEIGEN_RUN_Valgrind_tests" stdenv.hostPlatform.isLinux) ]; nativeBuildInputs = [ cmake ]; @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { osqp ]; checkInputs = [ catch2 ]; - nativeCheckInputs = lib.optional stdenv.isLinux valgrind; + nativeCheckInputs = lib.optional stdenv.hostPlatform.isLinux valgrind; doCheck = true; |