pantheon.elementary-code: Fix build with latest Vala

This commit is contained in:
Jan Tojnar 2021-04-28 06:04:53 +02:00
parent 67924b3f45
commit 79bcd4797e
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pantheon
, pkg-config
@ -39,6 +40,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-4AEayj+K/lOW6jEYmvmdan1kTqqqLL1YzwcU7/3PH5U=";
};
patches = [
# Fix build with latest Vala.
(fetchpatch {
url = "https://github.com/elementary/code/commit/c50580d3336296823da9a2c50b824f21fde50286.patch";
sha256 = "F+ZYlnZWYCU68G4oayLfbTnvSnTb4YA0zHVGD/Uf3KA=";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";