Skip to content

Commit

Permalink
river-tag-overlay: fix cross
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Apr 27, 2023
1 parent 36233d9 commit dbed546
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pkgs/applications/misc/river-tag-overlay/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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"}"
Expand Down

0 comments on commit dbed546

Please sign in to comment.