sycl-info: fix its build
fix compilation failure caused by bumping lyra from 1.6.1 to 1.7.0
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff '--color=auto' -u -r old/sycl-info/cli_config.hpp new/sycl-info/cli_config.hpp
|
||||
--- old/sycl-info/cli_config.hpp 2025-08-28 01:01:14.403357414 +0800
|
||||
+++ new/sycl-info/cli_config.hpp 2025-08-28 01:02:11.256702715 +0800
|
||||
@@ -42,7 +42,7 @@
|
||||
auto cli = make_cli();
|
||||
auto result = cli.parse(lyra::args(argc, argv));
|
||||
if (!result) {
|
||||
- raise_error(result.errorMessage(), cli);
|
||||
+ raise_error(result.message(), cli);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,6 +23,11 @@ stdenv.mkDerivation {
|
||||
sha256 = "0fy0y1rcfb11p3vijd8wym6xkaicav49pv2bv2l18rma929n1m1m";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix error caused by upgrading lyra from 1.6.1 to 1.7.0
|
||||
./fix-lyra-message.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
nlohmann_json
|
||||
ronn
|
||||
|
||||
Reference in New Issue
Block a user