Commit 8fd86084 authored by José Romildo's avatar José Romildo
Browse files

graphite-kde-theme: propagate sddm theme dependencies to user env

parent 01a3f1a1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, kdeclarative
, plasma-framework
, plasma-workspace
}:

stdenv.mkDerivation rec {
@@ -14,6 +17,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-iQGT2x0wY2EIuYw/a1MB8rT9BxiqWrOyBo6EGIJwsFw=";
  };

  # Propagate sddm theme dependencies to user env otherwise sddm does
  # not find them. Putting them in buildInputs is not enough.
  propagatedUserEnvPkgs = [
    kdeclarative.bin
    plasma-framework
    plasma-workspace
  ];

  postPatch = ''
    patchShebangs install.sh

+3 −1
Original line number Diff line number Diff line
@@ -29374,7 +29374,9 @@ with pkgs;
  graphite-gtk-theme = callPackage ../data/themes/graphite-gtk-theme { };
  graphite-kde-theme = callPackage ../data/themes/graphite-kde-theme { };
  graphite-kde-theme = callPackage ../data/themes/graphite-kde-theme {
    inherit (libsForQt5) kdeclarative plasma-framework plasma-workspace;
  };
  greybird = callPackage ../data/themes/greybird { };