glucose: fix build on aarch64-linux

+5 -2
+5 -2
pkgs/applications/science/logic/glucose/default.nix
··· 8 sha256 = "0aahrkaq7n0z986fpqz66yz946nxardfi6dh8calzcfjpvqiraji"; 9 }; 10 11 buildInputs = [ zlib ]; 12 13 sourceRoot = "glucose-syrup-${version}/simp"; ··· 23 license = licenses.mit; 24 platforms = platforms.unix; 25 maintainers = with maintainers; [ gebner ]; 26 - # Build uses _FPU_EXTENDED macro 27 - badPlatforms = [ "aarch64-linux" ]; 28 }; 29 }
··· 8 sha256 = "0aahrkaq7n0z986fpqz66yz946nxardfi6dh8calzcfjpvqiraji"; 9 }; 10 11 + postPatch = '' 12 + substituteInPlace Main.cc \ 13 + --replace "defined(__linux__)" "defined(__linux__) && defined(__x86_64__)" 14 + ''; 15 + 16 buildInputs = [ zlib ]; 17 18 sourceRoot = "glucose-syrup-${version}/simp"; ··· 28 license = licenses.mit; 29 platforms = platforms.unix; 30 maintainers = with maintainers; [ gebner ]; 31 }; 32 }