mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
hyprpaper: fix build
This commit is contained in:
parent
d719f51398
commit
0a476ae1fa
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, cairo
|
, cairo
|
||||||
, expat
|
, expat
|
||||||
@ -22,6 +23,7 @@
|
|||||||
, util-linux
|
, util-linux
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
|
, wayland-scanner
|
||||||
, hyprwayland-scanner
|
, hyprwayland-scanner
|
||||||
, hyprutils
|
, hyprutils
|
||||||
}:
|
}:
|
||||||
@ -37,10 +39,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-HIK7XJWQCM0BAnwW5uC7P0e7DAkVTy5jlxQ0NwoSy4M=";
|
hash = "sha256-HIK7XJWQCM0BAnwW5uC7P0e7DAkVTy5jlxQ0NwoSy4M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# CMakeLists: look for wayland.xml protocol in wayland-scanner pkgdata
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/hyprwm/hyprpaper/commit/6c6e54faa84d2de94d2321eda43a8a669ebf3312.patch";
|
||||||
|
hash = "sha256-Ns7HlUPVgBDIocZRGR6kIW58Mt92kJPQRMSKTvp6Vik=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
hyprwayland-scanner
|
hyprwayland-scanner
|
||||||
|
wayland-scanner
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user