mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pantheon.switchboard-plug-printers: fix build
This commit is contained in:
parent
e55bd86e82
commit
8b957f8359
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pantheon
|
||||
, meson
|
||||
, ninja
|
||||
|
@ -44,6 +45,14 @@ stdenv.mkDerivation rec {
|
|||
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";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue