ripes: devendor cereal, fixes build on darwin
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
qt6,
|
||||
cereal,
|
||||
cmake,
|
||||
python3,
|
||||
unstableGitUpdater,
|
||||
@@ -22,6 +23,12 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-aNJTM/s4GNhWVXQxK1R/rIN/NmeKglibQZMh8ENjIzo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
rm -r external/VSRTL/external/cereal
|
||||
substituteInPlace {src/serializers.h,src/io/iobase.h} \
|
||||
--replace-fail "VSRTL/external/cereal/include/cereal/cereal.hpp" "cereal/cereal.hpp"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
@@ -30,6 +37,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cereal
|
||||
qt6.qtbase
|
||||
qt6.qtsvg
|
||||
qt6.qtcharts
|
||||
|
||||
Reference in New Issue
Block a user