mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 03:48:22 +00:00
whitesur-kde: propagate sddm theme dependencies to user env
This commit is contained in:
parent
2edb7f2edb
commit
2ff27bb7a1
@ -1,6 +1,9 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, kdeclarative
|
||||
, plasma-framework
|
||||
, plasma-workspace
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
@ -15,6 +18,14 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-+Iooj8a7zfLhEWnjLEVoe/ebD9Vew5HZdz0wpWVZxA8=";
|
||||
};
|
||||
|
||||
# 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
|
||||
|
||||
@ -22,6 +33,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
--replace '$HOME/.config' $out/share \
|
||||
--replace '$HOME/.local' $out \
|
||||
--replace '"$HOME"/.Xresources' $out/doc/.Xresources
|
||||
|
||||
substituteInPlace sddm/*/Main.qml \
|
||||
--replace /usr $out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -30213,7 +30213,9 @@ with pkgs;
|
||||
|
||||
whitesur-icon-theme = callPackage ../data/icons/whitesur-icon-theme { };
|
||||
|
||||
whitesur-kde = callPackage ../data/themes/whitesur-kde { };
|
||||
whitesur-kde = callPackage ../data/themes/whitesur-kde {
|
||||
inherit (libsForQt5) kdeclarative plasma-framework plasma-workspace;
|
||||
};
|
||||
|
||||
wireless-regdb = callPackage ../data/misc/wireless-regdb { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user