Unverified Commit d9aecbc3 authored by seth's avatar seth
Browse files

niri: cleanup dependencies

Some of these were not required, not explicitly listed, or shouldn't
always be added to the rpath
parent 6521bf43
Loading
Loading
Loading
Loading
+19 −21
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  autoPatchelfHook,
  clang,
  dbus,
  fetchFromGitHub,
  nix-update-script,
  pkg-config,
  libdisplay-info,
  libglvnd,
  libinput,
  libxkbcommon,
  mesa,
  nix-update-script,
  pango,
  pipewire,
  pkg-config,
  rustPlatform,
  seatd,
  stdenv,
  wayland,
  systemd,
  libinput,
  mesa,
  fontconfig,
  libglvnd,
  autoPatchelfHook,
  clang,
  wayland,
}:

rustPlatform.buildRustPackage rec {
@@ -39,30 +38,29 @@ rustPlatform.buildRustPackage rec {
    };
  };

  strictDeps = true;

  nativeBuildInputs = [
    pkg-config
    rustPlatform.bindgenHook
    autoPatchelfHook
    clang
    pkg-config
    rustPlatform.bindgenHook
  ];

  buildInputs = [
    wayland
    systemd # For libudev
    seatd # For libseat
    dbus
    libdisplay-info
    libxkbcommon
    libinput
    libxkbcommon
    mesa # For libgbm
    fontconfig
    stdenv.cc.cc.lib
    pipewire
    pango
    pipewire
    seatd
    systemd # Also includes libudev
  ];

  runtimeDependencies = [
    wayland
    mesa
    libglvnd # For libEGL
  ];