mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
monitor: Fix build with Vala 0.56.18
error: Compact class `Monitor.HwmonTemperature' cannot inherit from non-compact class `GLib.Object'
This commit is contained in:
parent
8869df7043
commit
9bb3569e18
1 changed files with 6 additions and 0 deletions
|
@ -84,6 +84,12 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace meson.build --replace \
|
||||
"meson.get_compiler('c').find_library('libcurl', dirs: vapidir)" \
|
||||
"meson.get_compiler('c').find_library('libcurl', dirs: '${curl.out}/lib')"
|
||||
|
||||
# Fix build with Vala 0.56.18
|
||||
# https://github.com/elementary/monitor/issues/444
|
||||
for i in $(find src/Resources -type f -name "*.vala"); do
|
||||
substituteInPlace $i --replace-warn "[Compact]" ""
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue