pantheon.switchboard-plug-printers: fix build

This commit is contained in:
worldofpeace 2019-10-10 10:38:03 -04:00
parent e55bd86e82
commit 8b957f8359

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pantheon , pantheon
, meson , meson
, ninja , ninja
@ -44,6 +45,14 @@ stdenv.mkDerivation rec {
switchboard switchboard
]; ];
patches = [
# Fix build with latest vala.
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-printers/commit/3175c2ebf106145a95355d2571e0a2aa4834e884.patch";
sha256 = "1b2q48a1284037nz79vjcrz8g2qpsyg7s5rag6bfp03a1ijb7gw3";
})
];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard"; PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; { meta = with stdenv.lib; {