river-tag-overlay: fix cross

This commit is contained in:
Alyssa Ross 2023-04-24 20:28:51 +00:00
parent 36233d9675
commit dbed54656c

View file

@ -1,4 +1,6 @@
{ lib, stdenv, fetchFromSourcehut, nixos, wayland, pixman, pkg-config }:
{ lib, stdenv, fetchFromSourcehut, fetchpatch
, wayland, pixman, pkg-config, wayland-scanner
}:
stdenv.mkDerivation rec {
pname = "river-tag-overlay";
@ -11,8 +13,16 @@ stdenv.mkDerivation rec {
hash = "sha256-hLyXdLi/ldvwPJ1oQQsH5wgflQJuXu6vhYw/qdKAV9E=";
};
patches = [
# Backport cross fix.
(fetchpatch {
url = "https://git.sr.ht/~leon_plickat/river-tag-overlay/commit/791eaadf46482121a4c811ffba13d03168d74d8f.patch";
sha256 = "CxSDcweHGup1EF3oD/2vhP6RFoeYorj0BwmlgA3tbPE=";
})
];
buildInputs = [ pixman wayland ];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ pkg-config wayland-scanner ];
makeFlags = [
"DESTDIR=${placeholder "out"}"