mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
btor2tools: fix build with gcc 13
This commit is contained in:
parent
5139a600bd
commit
b03c6a4e9a
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, cmake, fetchFromGitHub, fixDarwinDylibNames }:
|
||||
{ lib, stdenv, cmake, fetchFromGitHub, fetchpatch, fixDarwinDylibNames }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "btor2tools";
|
||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0mfqmkgvyw8fa2c09kww107dmk180ch1hp98r5kv41vnc04iqb0s";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/Boolector/btor2tools/commit/037f1fa88fb439dca6f648ad48a3463256d69d8b.patch";
|
||||
hash = "sha256-FX1yy9XdUs1tAReOxhEzNHu48DrISzNNMSYoIrhHoFY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
installPhase = ''
|
||||
|
@ -39644,7 +39644,7 @@ with pkgs;
|
||||
|
||||
avy = callPackage ../applications/science/logic/avy { };
|
||||
|
||||
btor2tools = pin-to-gcc12-if-gcc13 (callPackage ../applications/science/logic/btor2tools { });
|
||||
btor2tools = callPackage ../applications/science/logic/btor2tools { };
|
||||
|
||||
boolector = callPackage ../applications/science/logic/boolector {
|
||||
stdenv = if stdenv.cc.isClang then overrideLibcxx llvmPackages_14.stdenv else stdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user