Commit 95f48de1 authored by Colin's avatar Colin
Browse files

rofi: fix cross compilation

move the `wayland-*` inputs to the buildInputs/nativeBuildInputs as
appropriate, using the old `rofi-wayland` package as a reference
(see deleted lines from 188b9110).
parent 5dda9c56
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@ stdenv.mkDerivation rec {
    ninja
    pandoc
    pkg-config
  ]
  ++ lib.optionals waylandSupport [
    wayland-protocols
    wayland-scanner
  ];
  buildInputs = [
    cairo
@@ -76,7 +80,6 @@ stdenv.mkDerivation rec {
  ++ lib.optionals waylandSupport [
    wayland
    wayland-protocols
    wayland-scanner
  ]
  ++ lib.optionals x11Support [
    libxcb