mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
vala-lint: fix build on vala-0.54
Without the change the build fails as: ../lib/Utils.vala:103.21-103.27: error: too many type arguments for `bool' public delegate bool<G> FilterFunction<G> (G element); ^^^^^^^
This commit is contained in:
parent
39d035c4cf
commit
9c5a157ef6
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, glib
|
||||
, meson
|
||||
, ninja
|
||||
@ -22,6 +23,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "KwJ5sCp9ZrrxIqc6qi2+ZdHBt1esNOO1+uDkS+d9mW8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build against vala-0.54+. Pull fix pending upstream
|
||||
# inclusion: https://github.com/vala-lang/vala-lint/pull/155
|
||||
(fetchpatch {
|
||||
name = "vala-0.54.patch";
|
||||
url = "https://github.com/vala-lang/vala-lint/commit/739f9a0b7d3e92db41eb32f2bfa527efdacc223b.patch";
|
||||
sha256 = "sha256-1IbQu3AQXRCrrjoMZKhEOqzExmPAo1SQOFHa/IrqnNA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
meson
|
||||
|
Loading…
Reference in New Issue
Block a user