about summary refs log tree commit diff
path: root/pkgs/kde/frameworks/solid/default.nix
blob: d59d15f16ead31c26164d0e92ad95533248073df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  mkKdeDerivation,
  fetchpatch,
  qttools,
  bison,
  flex,
  libimobiledevice,
}:
mkKdeDerivation {
  pname = "solid";

  patches = [
    # Also search /run/wrappers for mount/umount
    ./fix-search-path.patch

    # Backport fix for mounting removable LUKS devices
    # FIXME: remove in 6.2
    (fetchpatch {
      url = "https://invent.kde.org/frameworks/solid/-/commit/a3b18591ba144fae0cd0cfc087a45c64000d4e51.patch";
      hash = "sha256-e7+amjOShUSzPb0pAxnAuuh/fbK/YLESqR0co1bs+wg=";
    })
  ];

  extraNativeBuildInputs = [qttools bison flex];
  extraBuildInputs = [libimobiledevice];
  meta.mainProgram = "solid-hardware6";
}